model.isValid
  • References/JavaScript/Backbone/Model

isValidmodel.isValid() Run validate to check the model

2025-01-10 15:47:30
model.idAttribute
  • References/JavaScript/Backbone/Model

idAttributemodel.idAttribute A model's unique identifier is stored under the id attribute. If you're directly communicating

2025-01-10 15:47:30
Backbone.emulateHTTP
  • References/JavaScript/Backbone/Sync

emulateHTTPBackbone.emulateHTTP = true If you want to work with a legacy web server that doesn't support Backbone's default REST/HTTP

2025-01-10 15:47:30
collection.reduceRight
  • References/JavaScript/Backbone/Collection

reduceRight (foldr)

2025-01-10 15:47:30
collection.where
  • References/JavaScript/Backbone/Collection

wherecollection.where(attributes) Return an array of all the models in a collection that match the passed attributes. Useful

2025-01-10 15:47:30
Router
  • References/JavaScript/Backbone/Router

constructor / initializenew Router([options]) When creating a new router, you may pass its

2025-01-10 15:47:30
model.urlRoot
  • References/JavaScript/Backbone/Model

urlRootmodel.urlRoot or model.urlRoot() Specify a urlRoot if you're using a model outside of a collection, to

2025-01-10 15:47:30
collection.get
  • References/JavaScript/Backbone/Collection

getcollection.get(id) Get a model from a collection, specified by an

2025-01-10 15:47:30
model.cid
  • References/JavaScript/Backbone/Model

cidmodel.cid A special property of models, the cid or client id is a unique identifier automatically assigned to all models

2025-01-10 15:47:30
Backbone.emulateJSON
  • References/JavaScript/Backbone/Sync

emulateJSONBackbone.emulateJSON = true If you're working with a legacy web server that can't handle requests encoded as ap

2025-01-10 15:47:30