Add :styenable, :stydisable, :stytoggle

This commit is contained in:
Kris Maglione committed 2009-09-10 18:22:26 -04:00
1 parent 94bd791028
commit 66a2579fb9
5 files changed
+137 -94

No files matched your search

+2 -1
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;