balderdashy / mast

UI conventions built on top of Backbone.JS
MIT License
81 stars 14 forks source link

Warn when using .on, .off, etc. on collections or models #132

Open mikermcneil opened 11 years ago

mikermcneil commented 11 years ago

Instead, suggest using listenTo / listenToOnce / or stopListening from your collection since Mast's close (i.e. Backbone's remove) will take care of unbinding events for you.