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

Re : Issue with jsonp

$
0
0
I think you are just defining your findAll wrong. This should work:

Cat = can.Model({
    findAll: {
      url: 'caturl',
      dataType: 'jsonp'
    }
  }, {});

You can find the according documentation here.

Viewing all articles
Browse latest Browse all 3491

Trending Articles