Slide 20
Slide 20 text
Sync Signature
The method signature of Backbone.sync is
example of overriden sync:
http://bit.ly/KWdxNN
sync(method, model, [options])
• method
method
method
method: the CRUD method ("create“, "read“, "update",
or "delete")
• model
model
model
model: the model (or collection) to be synced
• options
options
options
options – success and error callbacks, and all other
jQuery request options