I have a Backbone collection something like the following:
var FooCollection = Backbone.Collection.extend({ model:Foo, initialize: function (attributes,
I was experiencing the same problem. My problem was I had included my Model script after Collection Script:
To fix it I just had to move the Class.js up above Classes.js:
Cheers