##// 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 407 var DOMWidgetView = WidgetView.extend({
408 initialize: function (options) {
408 initialize: function (parameters) {
409 409 // Public constructor
410 DOMWidgetView.__super__.initialize.apply(this, arguments);
410 DOMWidgetView.__super__.initialize.apply(this, [parameters]);
411 411 this.on('displayed', this.show, this);
412 412 this.after_displayed(function() {
413 413 this.update_visible(this.model, this.model.get("visible"));
General Comments 0
You need to be logged in to leave comments. Login now