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
It should be possible to replace on list with another so that list Controls can be initialized like this:
can.Control({
init : function () {
this.list = new Recipe.List();
this.element.html(can.view('list.ejs', list));
list.replace(Recipe.findAll());
}
});
.replace can take an array, another can.Observe.List or a Deferred.
—
Reply to this email directly or view it on GitHub.
It should be possible to replace on list with another so that list Controls can be initialized like this:
.replace
can take an array, another can.Observe.List or a Deferred.The text was updated successfully, but these errors were encountered: