Commit 91ffa198 by Иван Кубота

fix

parent fe8b0a19
......@@ -448,7 +448,7 @@ Store.prototype = {
},
sync: function(key, version, saveInterface) {
saveInterface = saveInterface || Store.SaveInterface.LocalStorage;
var iface = new saveInterface(key, version, this);
var iface = new saveInterface(key, this);
this._props._VERSION_ = version;
iface.load(function(err, data) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment