documentcloud/backbone — pull request #1162 by aterris (2012-03-31 21:47:04+00:00)
Title: Fix #1161: Documentation for automatic nested collection on Backbone.model 

This adds a new line to the documentation for Backbone.Model constructor/initialize to address Issue #1161 This change documents the functionality found at line 196 which will take a collection option and add it as a top level attribute of model

```
if (options && options.collection) this.collection = options.collection;
```

I tried to keep it as simple as possible to avoid causing confusion while still providing insight and more completeness