Fix storage bins.

This commit is contained in:
Kris Maglione committed 2009-11-03 00:19:55 -05:00
1 parent ca8849ebd1
commit d59a85585b
7 files changed
+12 -12

No files matched your search

+4 -4
View File
@@ -320,14 +320,14 @@ var storage = {
return keys[key];
},
newMap: function newMap(key, store, options)
newMap: function newMap(key, options)
{
return this.newObject(key, ObjectStore, store, options);
return this.newObject(key, ObjectStore, options);
},
newArray: function newArray(key, store, options)
newArray: function newArray(key, options)
{
return this.newObject(key, ArrayStore, store, { type: Array, __proto__: options });
return this.newObject(key, ArrayStore, { type: Array, __proto__: options });
},
addObserver: function addObserver(key, callback, ref)