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,7 +28,6 @@ var Whisper = Whisper || {};
|
||||||
initialize: function() {
|
initialize: function() {
|
||||||
this.listenTo(this.collection, 'add', this.addOne);
|
this.listenTo(this.collection, 'add', this.addOne);
|
||||||
this.listenTo(this.collection, 'reset', this.addAll);
|
this.listenTo(this.collection, 'reset', this.addAll);
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
addOne: function(model) {
|
addOne: function(model) {
|
||||||
|
|
|
@ -53,7 +53,9 @@
|
||||||
|
|
||||||
this.$el.find('.attachments').append(
|
this.$el.find('.attachments').append(
|
||||||
this.model.get('attachments').map(function(attachment) {
|
this.model.get('attachments').map(function(attachment) {
|
||||||
return new Whisper.AttachmentView({model: attachment}).render().el;
|
return new Whisper.AttachmentView({
|
||||||
|
model: attachment
|
||||||
|
}).render().el;
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue