Advanced settings!

SSL and branch
This commit is contained in:
Mark McDowall 2013-09-24 21:51:44 -07:00
parent 283cd36db8
commit dc2af41e16
7 changed files with 237 additions and 101 deletions

View file

@ -12,6 +12,10 @@ define(
DefaultRootFolderId: 'DefaultRootFolderId'
},
getValueBoolean: function (key, defaultValue) {
return this.getValue(key, defaultValue) === 'true';
},
getValue: function (key, defaultValue) {
var storeValue = localStorage.getItem(key);
@ -35,6 +39,5 @@ define(
App.vent.trigger(this.Events.ConfigUpdatedEvent, {key: key, value: value});
}
};
});