3 ms·
i stopped reading after the first line, sold right away. should fix all those ghost view events right?
by rjzzleep 14y ago
i stopped reading after the first line, sold right away.
should fix all those ghost view events right?
- eddieplan9 14y agoIf you are disciplined to call view.remove(), then yes
- davedx 14y agoExcellent. This release is inspiring me to give backbone another try. The PATCH update is excellent too :)
- jashkenas 14y agoThis 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.