documentcloud/backbone — pull request #709 by bjeanes (2011-11-02 04:55:12+00:00)
Title: Use Underscore.js to simplify `add()` and `remove()` in Backbone.Collection

I made this change and Pull Request from GH web interface so haven't had a chance to run the tests against this. Unless the tests put expectations on the implementation, this shouldn't change anything (I tested it in Webkit Inspector).

IMO, it makes the code smaller and cleaner and a bit DRYer.

When I get to a decent computer with enough time to spare, I'll check the tests to be sure.