mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-30 19:22:28 +01:00
Add :styenable, :stydisable, :stytoggle
This commit is contained in:
@@ -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