diff --git a/index.html b/index.html index 863353c2e..90734ebae 100644 --- a/index.html +++ b/index.html @@ -1803,11 +1803,11 @@

Backbone.Collection

modelcollection.model([attrs], [options])
- Override this property to specify the model class that the collection - contains. If defined, you can pass raw attributes objects (and arrays) to + Override this property to specify the model class that the collection contains. + If defined, you can pass raw attributes objects (and arrays) and options to add, create, and reset, and the attributes will be - converted into a model of the proper type. + converted into a model of the proper type using the provided options, if any.

@@ -2015,7 +2015,8 @@ 

Backbone.Collection


Add a model (or an array of models) to the collection, firing an "add" event for each model, and an "update" event afterwards. If a model property is defined, you may also pass - raw attributes objects, and have them be vivified as instances of the model. + raw attributes objects and options, and have them be vivified as instances of the model using + the provided options. Returns the added (or preexisting, if duplicate) models. Pass {at: index} to splice the model into the collection at the specified index. If you're adding models to the collection that are @@ -2390,8 +2391,8 @@

Backbone.Collection

failed, the model will be unsaved, with validation errors. In order for this to work, you should set the model property of the collection. - The create method can accept either an attributes hash or an - existing, unsaved model object. + The create method can accept either an attributes hash and options to be + passed down during model instantiation or an existing, unsaved model object.