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,
|
||||
|
||||
plugins: {
|
||||
//LocalStorage: true,
|
||||
GoogleDrive: true,
|
||||
LocalStorage: true,
|
||||
//GoogleDrive: true,
|
||||
},
|
||||
|
||||
GoogleDrive: {
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ angular.module('copayApp.controllers').controller('MoreController',
|
|||
value: 100000000,
|
||||
decimals: 8
|
||||
}];
|
||||
|
||||
$scope.selectedAlternative = {
|
||||
name: w.settings.alternativeName,
|
||||
isoCode: w.settings.alternativeIsoCode
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
angular.module('copayApp.services').factory('pluginManager', function(angularLoad){
|
||||
var pm = new copay.PluginManager(config);
|
||||
|
||||
var scripts = pm.scripts;
|
||||
|
||||
for(var ii in scripts){
|
||||
|
|
|
|||
|
|
@ -15,12 +15,14 @@ saveAs = function(blob, filename) {
|
|||
var startServer = require('../../mocks/FakePayProServer');
|
||||
|
||||
describe("Unit: Controllers", function() {
|
||||
config.plugins.LocalStorage=null;
|
||||
config.plugins.GoogleDrive=null;
|
||||
|
||||
var invalidForm = {
|
||||
$invalid: true
|
||||
};
|
||||
|
||||
var scope;
|
||||
|
||||
var server;
|
||||
|
||||
beforeEach(module('copayApp.services'));
|
||||
|
|
@ -37,6 +39,7 @@ describe("Unit: Controllers", function() {
|
|||
alternativeIsoCode: 'LOL'
|
||||
};
|
||||
|
||||
|
||||
describe('More Controller', function() {
|
||||
var ctrl;
|
||||
beforeEach(inject(function($controller, $rootScope) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue