documentcloud/backbone — pull request #1900 by tbranyen (2012-12-11 18:13:31+00:00)
Title: Dispose intention

This pull request aims to alleviate the possibility of errors when using model or collection properties on a View instance with something other than an actual Model or Collection.

This allows `_.extend({}, Backbone.Events)` objects to be cleaned up correctly. Since Backbone has a specific `off` implementation that will not work well with others, it's worth detecting.