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

Re : CanJS with JSONP service

$
0
0
You can override all of the static functions (findAll, fiondOne, create, update, destroy), of a Model to completely customize its behavior.

Each function just has to return a Deferred. If you are using $.ajax, you can just return that since $.ajax returns a Deferred.

Viewing all articles
Browse latest Browse all 3491

Trending Articles