File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -115,9 +115,15 @@ issues.MetaDataView = Backbone.View.extend({
115
115
issues . AsideView = Backbone . View . extend ( {
116
116
el : $ ( "#js-Issue-aside" ) ,
117
117
initialize : function ( ) {
118
- this . model . on ( "change:issueState" , _ . bind ( function ( ) {
119
- this . render ( ) ;
120
- } , this ) ) ;
118
+ this . model . on (
119
+ "change:issueState" ,
120
+ _ . bind (
121
+ function ( ) {
122
+ this . render ( ) ;
123
+ } ,
124
+ this
125
+ )
126
+ ) ;
121
127
} ,
122
128
template : _ . template ( $ ( "#aside-tmpl" ) . html ( ) ) ,
123
129
render : function ( ) {
@@ -450,7 +456,7 @@ issues.MainView = Backbone.View.extend({
450
456
initSubViews : function ( ) {
451
457
var issueModel = { model : this . issue } ;
452
458
this . metadata = new issues . MetaDataView ( issueModel ) ;
453
- this . body = new issues . BodyView ( _ . extend ( issueModel , { mainView : this } ) ) ;
459
+ this . body = new issues . BodyView ( _ . extend ( issueModel , { mainView : this } ) ) ;
454
460
this . aside = new issues . AsideView ( issueModel ) ;
455
461
this . labels = new issues . LabelsView ( issueModel ) ;
456
462
this . textArea = new issues . TextAreaView ( ) ;
You can’t perform that action at this time.
0 commit comments