dispose: function () { stateModel.off('favorite:searchResult', this.onSearchResult, this); View.prototype.dispose.apply(this, arguments); }
dispose: function () { stateModel.off('favorite:add', this.addFavorite, this); stateModel.off('favorite:remove', this.removeFavorite, this); stateModel.off('favorite:search', this.search, this); return Collection.prototype.dispose.apply(this, arguments); }