Skip to content

Commit

Permalink
store works
Browse files Browse the repository at this point in the history
  • Loading branch information
justinbmeyer committed May 7, 2018
1 parent cca8f28 commit 7a466f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions store.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,14 @@ canReflect.assignMap(Store.prototype,{
}
var itemData = this.makeItems();
this.maxId = itemData.maxId;
this.connection.addSet({}, {data:itemData.items});
this.connection.updateListData(itemData.items, {});
},
get: function (params) {
var id = this.connection.queryLogic.memberIdentity(params);
return this.connection.getInstance(id);
return this.connection.getRecord(id);
},
getList: function(set){
return this.connection._getListData(set);
return this.connection.getListDataSync(set);
}
});

Expand Down

0 comments on commit 7a466f1

Please sign in to comment.