4 ms·
This should make it easier to remove events from either end of a bound event -- either the side that emits the messages, or the side that listens to them, depen
by jashkenas 14y ago
This should make it easier to remove events from either end of a bound event -- either the side that emits the messages, or the side that listens to them, depending on what you need. For views (objects that tend to listen to many events from disparate sources), yes, it should make it easier. Be sure to use the `view.listenTo(model, ...)` syntax, and call `view.remove()` when you want to get rid of the view, and you should be all set.