Remove unneeded listeners

This commit is contained in:
lilia 2015-02-12 00:17:10 -08:00
parent 0463e385e8
commit 5a302271b3

View file

@ -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) {