projects
/
Hacks.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add global color list
[Hacks.git]
/
hacks
/
Hack.js
diff --git
a/hacks/Hack.js
b/hacks/Hack.js
index
2b0e5f7
..
13e1912
100644
(file)
--- a/
hacks/Hack.js
+++ b/
hacks/Hack.js
@@
-51,5
+51,8
@@
enyo.kind({
enyo.log("Could not save prefs: " + e.toString());
}
},
+ resetPreferences: function() {
+ delete localStorage['hacks/' + this.kind];
+ },
preferencesChanged: function() { }
});