backbone.js - Use of the url parameter in Backbone.Model.extend -
I'm new to the spinal cord and I'm wondering if the URL parameter is used to type
Apikformmodel = Bakbonkmodel.andend ({default: {success: false, Setadeta: ''}}});
I pre a
<> will undesired error: a "url" must specify property or function
What URL whom I method needs to be expanded
it says the document
relative URL access will be based on the model of the resource server. If your models are located elsewhere, then override this method with the right logic.
What do the resources mean?
If you want to send and receive data on the server / back, should know the spine Where is the server The URL is exactly the same. If you do not set this property and try to sync with the server, then the spinal cord will throw this exception.
Comments
Post a Comment