defaults to localStorage
This commit is contained in:
parent
409cef4d4b
commit
4bf7bbe73f
4 changed files with 7 additions and 4 deletions
|
|
@ -53,8 +53,8 @@ var defaultConfig = {
|
||||||
verbose: 1,
|
verbose: 1,
|
||||||
|
|
||||||
plugins: {
|
plugins: {
|
||||||
//LocalStorage: true,
|
LocalStorage: true,
|
||||||
GoogleDrive: true,
|
//GoogleDrive: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
GoogleDrive: {
|
GoogleDrive: {
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ angular.module('copayApp.controllers').controller('MoreController',
|
||||||
value: 100000000,
|
value: 100000000,
|
||||||
decimals: 8
|
decimals: 8
|
||||||
}];
|
}];
|
||||||
|
|
||||||
$scope.selectedAlternative = {
|
$scope.selectedAlternative = {
|
||||||
name: w.settings.alternativeName,
|
name: w.settings.alternativeName,
|
||||||
isoCode: w.settings.alternativeIsoCode
|
isoCode: w.settings.alternativeIsoCode
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
angular.module('copayApp.services').factory('pluginManager', function(angularLoad){
|
angular.module('copayApp.services').factory('pluginManager', function(angularLoad){
|
||||||
var pm = new copay.PluginManager(config);
|
var pm = new copay.PluginManager(config);
|
||||||
|
|
||||||
var scripts = pm.scripts;
|
var scripts = pm.scripts;
|
||||||
|
|
||||||
for(var ii in scripts){
|
for(var ii in scripts){
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,14 @@ saveAs = function(blob, filename) {
|
||||||
var startServer = require('../../mocks/FakePayProServer');
|
var startServer = require('../../mocks/FakePayProServer');
|
||||||
|
|
||||||
describe("Unit: Controllers", function() {
|
describe("Unit: Controllers", function() {
|
||||||
|
config.plugins.LocalStorage=null;
|
||||||
|
config.plugins.GoogleDrive=null;
|
||||||
|
|
||||||
var invalidForm = {
|
var invalidForm = {
|
||||||
$invalid: true
|
$invalid: true
|
||||||
};
|
};
|
||||||
|
|
||||||
var scope;
|
var scope;
|
||||||
|
|
||||||
var server;
|
var server;
|
||||||
|
|
||||||
beforeEach(module('copayApp.services'));
|
beforeEach(module('copayApp.services'));
|
||||||
|
|
@ -37,6 +39,7 @@ describe("Unit: Controllers", function() {
|
||||||
alternativeIsoCode: 'LOL'
|
alternativeIsoCode: 'LOL'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
describe('More Controller', function() {
|
describe('More Controller', function() {
|
||||||
var ctrl;
|
var ctrl;
|
||||||
beforeEach(inject(function($controller, $rootScope) {
|
beforeEach(inject(function($controller, $rootScope) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue