Start a new topic

Kinvey Backbone library, using Backbone >= 1.1.0 fails

The documentation states : backbone library >= 1.0.0

However since 1.1, Backbone Views no longer have the options argument attached as this.options automatically.

Therefore i get the following error:

Uncaught Kinvey.Error: model or options argument must contain: url.

Please have a look at it.

Thanks in advance.
1 Comment

Yes, providing better support is on our list. For now, you can do:


var model = new Kinvey.Backbone.Model();

model.urlRoot = 'collection-name';

var collection = new Kinvey.Backbone.Collection([]);

collection.url = 'collection-name';

Login or Signup to post a comment