minor cleanup

This commit is contained in:
kay.one 2013-08-03 18:27:12 -07:00
parent 376b386b31
commit 4ff068db0a
12 changed files with 63 additions and 28 deletions

View file

@ -12,7 +12,7 @@ define(
DefaultRootFolderId: 'DefaultRootFolderId'
},
GetValue: function (key, defaultValue) {
getValue: function (key, defaultValue) {
var storeValue = localStorage.getItem(key);
@ -23,11 +23,11 @@ define(
return storeValue.toString();
},
SetValue: function (key, value) {
setValue: function (key, value) {
console.log('Config: [{0}] => [{1}] '.format(key, value));
if (this.GetValue(key) === value.toString()) {
if (this.getValue(key) === value.toString()) {
return;
}