mirror of https://github.com/BTCPrivate/copay.git
fix miscellaneous karma console errors
point to new bitcore bundle remove online.wav file usage, clean up console error remove unused crypto var from storage.File test, clean up console error
This commit is contained in:
parent
ecf262ceea
commit
4e8fa24fc0
|
@ -7,9 +7,6 @@ var Video = function() {
|
|||
|
||||
this.mediaConnections = {};
|
||||
this.localStream = null;
|
||||
if (typeof Audio !== 'undefined') {
|
||||
this.onlineSound = new Audio('sound/online.wav');
|
||||
}
|
||||
};
|
||||
|
||||
Video.prototype.setOwnPeer = function(peer, wallet, cb) {
|
||||
|
@ -66,7 +63,6 @@ Video.prototype._addCall = function(mediaConnection, cb) {
|
|||
|
||||
// Wait for stream on the call, then set peer video display
|
||||
mediaConnection.on('stream', function(stream) {
|
||||
if (self.onlineSound) self.onlineSound.play();
|
||||
cb(null, peerID, URL.createObjectURL(stream));
|
||||
});
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ module.exports = function(config) {
|
|||
'lib/angular-foundation/mm-foundation.min.js',
|
||||
'lib/angular-foundation/mm-foundation-tpls.min.js',
|
||||
'lib/peerjs/peer.js',
|
||||
'lib/bitcore/browser/bundle.js',
|
||||
'lib/bitcore-0.1.35-paypro.js',
|
||||
'lib/crypto-js/rollups/sha256.js',
|
||||
'lib/crypto-js/rollups/pbkdf2.js',
|
||||
'lib/crypto-js/rollups/aes.js',
|
||||
|
|
|
@ -5,7 +5,6 @@ var should = chai.should();
|
|||
var Storage = require('../js/models/storage/File.js');
|
||||
|
||||
var sinon = require('sinon');
|
||||
var crypto = require('crypto');
|
||||
var CryptoJS = require('node-cryptojs-aes').CryptoJS;
|
||||
|
||||
var mock = require('mock-fs');
|
||||
|
|
Loading…
Reference in New Issue