parent
053d5d94a4
commit
0581e3d5dd
5 changed files with 25 additions and 17 deletions
@ -1,5 +1,10 @@ |
|||||||
App({ |
App({ |
||||||
onLaunch: function () { |
onLaunch: function () { |
||||||
|
this.store = new(this.jsonApi()) |
||||||
|
}, |
||||||
|
|
||||||
|
jsonApi: function() { |
||||||
|
const jsonApi = require('node_modules/jsonapi-datastore/dist/jsonapi-datastore.js').JsonApiDataStore |
||||||
|
return jsonApi |
||||||
} |
} |
||||||
}) |
}) |
Loading…
Reference in new issue