parent
0581e3d5dd
commit
bf4c3cb301
4 changed files with 47 additions and 13 deletions
@ -1,10 +1,7 @@ |
|||||||
App({ |
App({ |
||||||
onLaunch: function () { |
onLaunch: function () { |
||||||
this.store = new(this.jsonApi()) |
const jsonApi = require('node_modules/jsonapi-datastore/dist/jsonapi-datastore.js') |
||||||
}, |
this.store = new(jsonApi.JsonApiDataStore) |
||||||
|
this.jsonModel = jsonApi.JsonApiDataStoreModel |
||||||
jsonApi: function() { |
|
||||||
const jsonApi = require('node_modules/jsonapi-datastore/dist/jsonapi-datastore.js').JsonApiDataStore |
|
||||||
return jsonApi |
|
||||||
} |
} |
||||||
}) |
}) |
Loading…
Reference in new issue