Wallet/js/app.js

38 lines
815 B
JavaScript
Raw Normal View History

2014-03-14 17:38:27 -03:00
'use strict';
2014-05-16 12:40:26 -03:00
var config = defaultConfig;
var localConfig = JSON.parse(localStorage.getItem('config'));
if (localConfig) {
var count = 0;
for (name in localConfig) {
if (localConfig.hasOwnProperty(name)) {
config[name] = localConfig[name];
}
}
}
var log = function() {
if (config.verbose) console.log(arguments);
}
2014-04-30 12:25:33 -03:00
// From the bundle
2014-04-30 12:25:33 -03:00
var copay = require('copay');
var copayApp = window.copayApp = angular.module('copayApp',[
2014-03-19 13:17:18 -03:00
'ngRoute',
2014-05-16 13:18:25 -07:00
'angularMoment',
'mm.foundation',
2014-03-27 16:43:51 -03:00
'monospaced.qrcode',
2014-05-15 02:13:25 -03:00
'notifications',
'copayApp.filters',
2014-06-03 17:42:36 -03:00
'copayApp.controllers',
'copayApp.directives',
2014-06-03 17:42:36 -03:00
'copayApp.services',
2014-03-14 17:38:27 -03:00
]);
2014-03-25 11:35:04 -03:00
2014-06-03 17:42:36 -03:00
angular.module('copayApp.filters', []);
angular.module('copayApp.controllers', []);
angular.module('copayApp.directives', []);
2014-06-03 17:42:36 -03:00
angular.module('copayApp.services', []);