Start a new topic

Backbone DataStore documentation

Hello,



I think that there is an error in the Backbone data store docs. http://devcenter.kinvey.com/backbone/guides/datastore

The example passes two comma separated object in the new Model() but it should be only one.



Thanks,

Chris

Thanks for the answer. I can see that it expects two params now. I didn't know that. But again I think that the url is an attribute. Shouldn't passed as the first argument?
Thanks for your feedback - the first object specifies any initial attributes of the model, the second one is an object of options.



See also here: http://backbonejs.org/#Model-constructor
in the title I have a typo. is data store... It seems you cannot edit your question after you submit it....
Login or Signup to post a comment