1
0
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:
Kris Maglione
2009-09-10 18:20:47 -04:00
parent 94bd791028
commit 66a2579fb9
5 changed files with 137 additions and 94 deletions

View File

@@ -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;