##// END OF EJS Templates
making the use of options explicit
Sylvain Corlay -
Show More
@@ -405,9 +405,9 b' define(["widgets/js/manager",'
405
405
406
406
407 var DOMWidgetView = WidgetView.extend({
407 var DOMWidgetView = WidgetView.extend({
408 initialize: function (options) {
408 initialize: function (parameters) {
409 // Public constructor
409 // Public constructor
410 DOMWidgetView.__super__.initialize.apply(this, arguments);
410 DOMWidgetView.__super__.initialize.apply(this, [parameters]);
411 this.on('displayed', this.show, this);
411 this.on('displayed', this.show, this);
412 this.after_displayed(function() {
412 this.after_displayed(function() {
413 this.update_visible(this.model, this.model.get("visible"));
413 this.update_visible(this.model, this.model.get("visible"));
General Comments 0
You need to be logged in to leave comments. Login now