1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-27 16:25:47 +01:00

Fix storage bins.

This commit is contained in:
Kris Maglione
2009-11-03 00:19:55 -05:00
parent ca8849ebd1
commit d59a85585b
7 changed files with 12 additions and 12 deletions

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)