Show More
@@ -37,7 +37,7 b' define([' | |||||
37 | var view = this.create_child_view(model); |
|
37 | var view = this.create_child_view(model); | |
38 | this.$el.append(view.$el); |
|
38 | this.$el.append(view.$el); | |
39 |
|
39 | |||
40 |
// Trigger the displayed event once this |
|
40 | // Trigger the displayed event once this view is displayed. | |
41 | this.once_displayed(function() { |
|
41 | this.once_displayed(function() { | |
42 | view.trigger('displayed'); |
|
42 | view.trigger('displayed'); | |
43 | }); |
|
43 | }); | |
@@ -229,7 +229,7 b' define([' | |||||
229 | var view = this.create_child_view(model); |
|
229 | var view = this.create_child_view(model); | |
230 | this.$body.append(view.$el); |
|
230 | this.$body.append(view.$el); | |
231 |
|
231 | |||
232 |
// Trigger the displayed event once this |
|
232 | // Trigger the displayed event once this view is displayed. | |
233 | this.once_displayed(function() { |
|
233 | this.once_displayed(function() { | |
234 | view.trigger('displayed'); |
|
234 | view.trigger('displayed'); | |
235 | }); |
|
235 | }); |
General Comments 0
You need to be logged in to leave comments.
Login now