defaults to localStorage

This commit is contained in:
Matias Alejo Garcia 2014-09-18 19:34:27 -03:00
commit 4bf7bbe73f
4 changed files with 7 additions and 4 deletions

View file

@ -53,8 +53,8 @@ var defaultConfig = {
verbose: 1,
plugins: {
//LocalStorage: true,
GoogleDrive: true,
LocalStorage: true,
//GoogleDrive: true,
},
GoogleDrive: {

View file

@ -25,6 +25,7 @@ angular.module('copayApp.controllers').controller('MoreController',
value: 100000000,
decimals: 8
}];
$scope.selectedAlternative = {
name: w.settings.alternativeName,
isoCode: w.settings.alternativeIsoCode

View file

@ -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){

View file

@ -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) {