Welcome
Login
Sign up
Home
Solutions
Forums
How can we help you today?
Enter your search term here...
Search
Login
or
Signup
to submit a new ticket
Check ticket status
Start a new topic
Discussions
Kinvey Forums
JavaScript
Kinvey Backbone library, using Backbone >= 1.1.0 fails
J
Jonas
started a topic
about 7 years ago
The documentation states : backbone library >= 1.0.0
http://devcenter.kinvey.com/backbone/guides/getting-started#Dependencies
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
M
Mark
said
about 7 years ago
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
More topics in
JavaScript
How do I use Kinvey in my web app?
Is it safe to include keys/secrets in my client-side JavaScript app?
Why is the activeUser null even though I am logged in?
Login does not work even though credentials are valid.
Social login doesn’t work.
Appending objects to an Array (HTML5 - JS)
New to node.js - need bootstrap to downloadfiles from Kinvey
Problem with Aggregation/Grouping
Internal Server Error using Twitter Sign Up
Data Store
See all 315 topics
Jonas
http://devcenter.kinvey.com/backbone/guides/getting-started#Dependencies
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.