I am trying to populate a collection from a simple JSON file as part of learning backbone.js. But I can\'t get it to work.
The AJAX call is made (verified with Fire
i believe the problem lies in your json
either you override the parse method on the collection, to work with your json
or you could change the json :)
[{
"description": "Lorem ipsum..."
},
{
"description": "Lorem ipsum..."
}]
i believe this is what your json should look like, just an array of your models.