thoughtbot/backbone-support — pull request #5 by amkirwan (2012-07-19 20:32:41+00:00)
Title: Added Event Cleanup Helpers

Added some helpers for event cleanup when the view is removed. These are taken from the book and put into a mixin Support.Observer that is mixed into the Support.CompositeView. I have also added a callback function onLeave which will be called from the view if the user has implemented it before the view is removed from the DOM.