Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.around(function (callback) {
- var context = this;
- this.load('data/3-products.txt', { json: true, cache: true })
- .then(function (items) {
- context.items = items;
- console.log("loaded: " + JSON.stringify(context.items));
- })
- .then(callback);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement