Show More
@@ -1,6 +1,6 b'' | |||
|
1 | 1 | require(["notebook/js/widget"], function(){ |
|
2 | 2 | var ContainerModel = IPython.WidgetModel.extend({}); |
|
3 |
IPython.notebook.widget_manager.register_widget_model(' |
|
|
3 | IPython.notebook.widget_manager.register_widget_model('ContainerWidgetModel', ContainerModel); | |
|
4 | 4 | |
|
5 | 5 | var ContainerView = IPython.WidgetView.extend({ |
|
6 | 6 |
@@ -2,7 +2,7 b' from widget import Widget' | |||
|
2 | 2 | from IPython.utils.traitlets import Unicode, Bool |
|
3 | 3 | |
|
4 | 4 | class ContainerWidget(Widget): |
|
5 |
target_name = Unicode(' |
|
|
5 | target_name = Unicode('ContainerWidgetModel') | |
|
6 | 6 | default_view_name = Unicode('ContainerView') |
|
7 | 7 | _keys = ['_vbox', '_hbox', '_start', '_end', '_center'] |
|
8 | 8 | _trait_changing = False |
General Comments 0
You need to be logged in to leave comments.
Login now