Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
hainm committed Jul 14, 2019
1 parent baa6426 commit 79b713c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/src/widget_ngl.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ var NGLView = widgets.DOMWidgetView.extend({
this.model.set('_ngl_version', NGL.Version);
this._synced_model_ids = this.model.get("_synced_model_ids");
this.stage_widget = undefined
this.handleMessage()

this.displayed.then(function() {
// move all below code inside 'displayed'
// to make sure the NGLView and NGLModel are created
this.createStage()
this.handlePicking()
this.handleSignals()
this.handleMessage()
this.finalizeDisplay()
}.bind(this));

Expand Down
2 changes: 1 addition & 1 deletion nglview/static/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nglview/static/index.js.map

Large diffs are not rendered by default.

0 comments on commit 79b713c

Please sign in to comment.