busterjs/bane — pull request #5 by jodal (2012-12-03 23:48:43+00:00)
Title: Unregister everything

This adds support for `object.off()` which is useful for cleaning up before deleting an object, so that it can be garbage collected.

I've split this change in two commits, in case you don't want `object.off()` to unregister errbacks as well.