Fix list_view.js and message_view.js whitespace
This commit is contained in:
parent
61581bae7f
commit
1c589f2fad
2 changed files with 55 additions and 54 deletions
|
@ -28,11 +28,10 @@ var Whisper = Whisper || {};
|
|||
initialize: function() {
|
||||
this.listenTo(this.collection, 'add', this.addOne);
|
||||
this.listenTo(this.collection, 'reset', this.addAll);
|
||||
|
||||
},
|
||||
|
||||
addOne: function(model) {
|
||||
if (this.itemView) {
|
||||
if (this.itemView) {
|
||||
var view = new this.itemView({model: model});
|
||||
this.$el.append(view.render().el);
|
||||
this.$el.trigger('add');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue