##// END OF EJS Templates
unnecessary context variable specify
Sylvain Corlay -
Show More
@@ -38,7 +38,9 b' define(['
38 this.$el.append(view.$el);
38 this.$el.append(view.$el);
39
39
40 // Trigger the displayed event once this model is displayed.
40 // Trigger the displayed event once this model is displayed.
41 this.once_displayed(function() { view.trigger('displayed'); }, this);
41 this.once_displayed(function() {
42 view.trigger('displayed');
43 });
42 },
44 },
43
45
44 update: function(){
46 update: function(){
@@ -228,9 +230,9 b' define(['
228 this.$body.append(view.$el);
230 this.$body.append(view.$el);
229
231
230 // Trigger the displayed event once this model is displayed.
232 // Trigger the displayed event once this model is displayed.
231 this.once_displayed(function() {
233 this.once_displayed(function() {
232 view.trigger('displayed');
234 view.trigger('displayed');
233 }, this);
235 });
234 },
236 },
235
237
236 update: function(){
238 update: function(){
General Comments 0
You need to be logged in to leave comments. Login now