Backbone.js: how to unbind from events, on model remove
问题 in backbone we have an app that uses an event Aggregator, located on the window.App.Events now, in many views, we bind to that aggregator, and i manually wrote a destroy function on a view, which handles unbinding from that event aggregator and then removing the view. (instead of directly removing the view). now, there were certain models where we needed this functionality as well, but i can't figure out how to tackle it. certain models need to bind to certain events, but maybe i'm mistaken