Change TreeStyleTabUtils.prefs to simple getter.

This commit is contained in:
saneyuki_s 2013-01-02 05:57:37 +09:00
parent 7cb71a7f42
commit af929f6858

View File

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