I have a Backbone collection something like the following:
var FooCollection = Backbone.Collection.extend({ model:Foo, initialize: function (attributes,
In my actual code Foo was declared after FooCollection. Didn't realize that Javascript doesn't support forward declarations. [headdesk]
Foo
FooCollection