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

Re : Uncaught Type Reference with jquery 1.10

$
0
0
You need to pass a second empty object when creating a model:

  1. can.Model({
  2. findAll : 'GET /api/users/user10254.demo/apps'
  3. }, {});
Also, is there a reason why you are using Handlebars? CanJS 2.0.4 Mustache engine is Handlebars compatible and allows you to live-bind your models.

Viewing all articles
Browse latest Browse all 3491

Trending Articles