Skip to content

Commit

Permalink
Newer new_widget API takes 3rd param.
Browse files Browse the repository at this point in the history
Ref jupyter#141
Ref jupyter#196

(c) Copyright IBM Corp. 2016
  • Loading branch information
jhpedemonte committed Mar 8, 2016
1 parent 7d09f4c commit f1646f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion elements/urth-core-behaviors/jupyter-widget-behavior.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
{
model_name: 'DeclWidgetModel',
widget_class: this.kernelClass
}
},
{}
).then(function(model) {
console.log('Model creation successful!', model);
this.__modelChangeCallback = this._onModelChange.bind(this);
Expand Down

0 comments on commit f1646f6

Please sign in to comment.