add version to networking

This commit is contained in:
Matias Alejo Garcia 2014-05-14 21:02:01 -03:00
commit 2e99d9a8ea
12 changed files with 46 additions and 25 deletions

View file

@ -1,7 +1,3 @@
'use strict';
var passphrase;
angular.module('copay.passphrase').factory('Passphrase', function($rootScope) {
passphrase = passphrase || new copay.Passphrase(config.passphrase);
return passphrase;
});
angular.module('copay.passphrase').value('Passphrase', new copay.Passphrase(config.passphrase));

View file

@ -1,4 +1,4 @@
'use strict';
angular.module('copay.walletFactory').value('walletFactory', new copay.WalletFactory(config));
angular.module('copay.walletFactory').value('walletFactory', new copay.WalletFactory(config, copay.version));