I try to fetch a simple Backbone Collection, but I get the following error.
A “url” property or function must be specified
var Collection = Backbone.Collection.extend({url: '/path/toCollection'});
var collection = new Collection([]);
app.vent.bindTo('applicationDidBecomeActive', collection.fetch);
app.vent.trigger('applicationDidBecomeActive');
//Error: A "url" property or function must be specified
Do you need to bind the ‘this’ parameter perhaps?