Remove unneeded listeners

pull/749/head
lilia 10 years ago
parent 0463e385e8
commit 5a302271b3

@ -26,10 +26,9 @@ var Whisper = Whisper || {};
tagName: 'ul',
itemView: Backbone.View,
initialize: function() {
this.listenTo(this.collection, 'change', this.render); // auto update
this.listenTo(this.collection, 'add', this.addOne);
this.listenTo(this.collection, 'reset', this.addAll);
this.listenTo(this.collection, 'all', this.render);
},
addOne: function(model) {

Loading…
Cancel
Save