You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, don't work a lot , that what's happen if you work on three projects in same time ;) a simple passgin variable to function in add is simplest even for beginners like me.
var config = require("../../shared/config");
var fetchModule = require("fetch");
var observableArrayModule = require("data/observable-array");
function GroceryListViewModel(items) {
var viewModel = new observableArrayModule.ObservableArray(items);
}
function handleErrors(response) {
if (!response.ok) {
console.log(JSON.stringify(response));
throw Error(response.statusText);
}
return response;
}
module.exports = GroceryListViewModel;
The text was updated successfully, but these errors were encountered: