this.listenTo(this, 'remove', function (query) { searchList._colorGenerator.removeColor(query.getId()); QueryPolling.handleRemovingQuery(query); });
this.get('queries').forEach(function (query) { QueryPolling.handleRemovingQuery(query); });