mirror of
https://github.com/esiur/esiur-js.git
synced 2025-09-13 23:23:18 +00:00
Template 2.0
This commit is contained in:
@@ -177,7 +177,7 @@ export default class IndexedDBStore extends IStore
|
||||
|
||||
resource._id = doc.id;
|
||||
|
||||
Warehouse.put(resource, doc.name, self, null, null, null, null).then(ok=>{
|
||||
Warehouse.put(doc.name, resource, self, null, null, null, null).then(ok=>{
|
||||
self.parse(doc.attributes).then(attributes=>{
|
||||
|
||||
resource.instance.setAttributes(attributes);
|
||||
|
@@ -178,7 +178,7 @@
|
||||
|
||||
resource._id = doc.id;
|
||||
|
||||
Warehouse.put(resource, doc.name, self, null, null, null, null).then(ok=>{
|
||||
Warehouse.put(doc.name, resource, self, null, null, null, null).then(ok=>{
|
||||
self.parse(doc.attributes).then(attributes=>{
|
||||
|
||||
resource.instance.setAttributes(attributes);
|
||||
|
Reference in New Issue
Block a user