mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-20 12:35:42 +02:00
Add :styenable, :stydisable, :stytoggle
This commit is contained in:
1 parent
94bd791028
commit
66a2579fb9
5 files changed
+137
-94
No files matched your search
@@ -287,9 +287,10 @@ var observers = {};
|
||||
var timers = {};
|
||||
|
||||
var storage = {
|
||||
alwaysReload: [],
|
||||
newObject: function newObject(key, constructor, store, type, options, reload)
|
||||
{
|
||||
if (!(key in keys) || reload)
|
||||
if (!(key in keys) || reload || key in this.alwaysReload)
|
||||
{
|
||||
if (key in this && !reload)
|
||||
throw Error;
|
||||
|
||||
Reference in new issue
Block a user