fix test in browser
This commit is contained in:
parent
124e1dff19
commit
c5a5129e83
5 changed files with 15 additions and 13 deletions
8
copay.js
8
copay.js
|
|
@ -5,14 +5,14 @@ module.exports.TxProposals = require('./js/models/core/TxProposals');
|
|||
module.exports.PrivateKey = require('./js/models/core/PrivateKey');
|
||||
|
||||
// components
|
||||
var WebRTC = require('./js/models/network/WebRTC');
|
||||
var Plain = require('./js/models/storage/Plain');
|
||||
var Insight = require('./js/models/blockchain/Insight');
|
||||
var WebRTC = module.exports.WebRTC = require('./js/models/network/WebRTC');
|
||||
var Insight = module.exports.Insight = require('./js/models/blockchain/Insight');
|
||||
var StoragePlain = module.exports.StoragePlain = require('./js/models/storage/Plain');
|
||||
|
||||
module.exports.Wallet = require('soop').load('./js/models/core/Wallet',{
|
||||
Network: WebRTC,
|
||||
Storage: Plain,
|
||||
Blockchain: Insight,
|
||||
Storage: StoragePlain,
|
||||
});
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue