Anyone on this? :(
Sorry about the slow reply Nico,
Let me ask someone about this.
Any new on this? :/
Nico,
var M_EVENT = Backbone.Model.extend( _.extend({}, Kinvey.Backbone.ModelMixin, { url: 'events', foo: 'bar' }) ); var C_EVENT = Backbone.Collection.extend( _.extend({}, Kinvey.Backbone.CollectionMixin, { url: 'events', model: M_EVENT }) ); Alloy.Collections.events = new C_EVENT([]);
Have you tried something like this?
Nico Barelmann
Hi,
i want to use a custom Model for my Collection Class to base on, but how i can do this?In the Docs there is
"By default, the model class of the Kinvey.Backbone.Collection is Kinvey.Backbone.Model."
But how i can change this?
I've tried something like this:
Any hint would be great. :)