mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-11 12:30:51 +08:00
making the use of options explicit
This commit is contained in:
parent
2ca04578cf
commit
c03a3eb6d2
@ -405,9 +405,9 @@ define(["widgets/js/manager",
|
||||
|
||||
|
||||
var DOMWidgetView = WidgetView.extend({
|
||||
initialize: function (options) {
|
||||
initialize: function (parameters) {
|
||||
// Public constructor
|
||||
DOMWidgetView.__super__.initialize.apply(this, arguments);
|
||||
DOMWidgetView.__super__.initialize.apply(this, [parameters]);
|
||||
this.on('displayed', this.show, this);
|
||||
this.after_displayed(function() {
|
||||
this.update_visible(this.model, this.model.get("visible"));
|
||||
|
Loading…
Reference in New Issue
Block a user