Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Trouble trying to create a CanJS small widget

$
0
0
You're right.  I think if you have a list, you should not return Deferreds or promises.  Just return a can.Model.List and push the entries into it when the findAll resolves.  Here's an example; note the differences I made in scope.Dosare:  http://jsfiddle.net/air_hadoken/an5T5/3/

Viewing all articles
Browse latest Browse all 3491

Trending Articles