Merge pull request #432 from saneyuki/getter

Change TreeStyleTabUtils.prefs to simple getter
This commit is contained in:
YUKI "Piro" Hiroshi 2013-01-03 10:37:37 -08:00
commit fc32a2e31b

View File

@ -63,8 +63,7 @@ const TST_PREF_PREFIX = 'extensions.treestyletab.';
let TreeStyleTabUtils = {
get prefs () {
delete this.prefs;
return this.prefs = prefs;
return prefs;
},
/* Save/Load Prefs */