Show More
@@ -19,7 +19,7 b' casper.notebook_test(function () {' | |||||
19 | slider.id = this.evaluate(function() { |
|
19 | slider.id = this.evaluate(function() { | |
20 | var slider = IPython.notebook.kernel.widget_manager.create_model({ |
|
20 | var slider = IPython.notebook.kernel.widget_manager.create_model({ | |
21 | model_name: 'WidgetModel', |
|
21 | model_name: 'WidgetModel', | |
22 |
|
|
22 | widget_class: 'IPython.html.widgets.widget_int.IntSlider', | |
23 | init_state_callback: function(model) { console.log('Create success!', model); }}); |
|
23 | init_state_callback: function(model) { console.log('Create success!', model); }}); | |
24 | return slider.id; |
|
24 | return slider.id; | |
25 | }); |
|
25 | }); |
General Comments 0
You need to be logged in to leave comments.
Login now