documentcloud/backbone — pull request #1642 by caseywebdev (2012-09-12 16:23:14+00:00)
Title: Fixes #1638 and #1604 - Account for order change in `add`

Referencing `this.models` directly in the `add` event trigger loop seems to be causing issues. My solution is to clone the model list before iterating. Doesn't break any existing tests and fixes the two referenced cases (maybe more).