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
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.omit
  • References/JavaScript/Backbone/Model

omit

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

indexOf

2025-01-10 15:47:30
view.el
  • References/JavaScript/Backbone/View

elview.el All views have a DOM element at all times (the el property), whether they've already been inserted into the page

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

sample

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

previousAttributesmodel.previousAttributes() Return a copy of the model's previous attributes. Useful for getting a diff between

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

modelcollection.model([attrs], [options]) Override this property to specify the model class that the collection contains. If defined

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

constructor / initializenew Model([attributes], [options]) When creating an instance of a model, you can pass in the initial values

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

partition

2025-01-10 15:47:30