Show More
@@ -342,8 +342,8 b' define([' | |||
|
342 | 342 | "notebook/js/widgets/widget_image", |
|
343 | 343 | "notebook/js/widgets/widget_int", |
|
344 | 344 | "notebook/js/widgets/widget_int_range", |
|
345 | "notebook/js/widgets/widget_multicontainer", | |
|
346 | 345 | "notebook/js/widgets/widget_selection", |
|
346 | "notebook/js/widgets/widget_selectioncontainer", | |
|
347 | 347 | "notebook/js/widgets/widget_string", |
|
348 | 348 | ], function(){ return true; }); |
|
349 | 349 | >>>>>>> renamed: basic_widgets.js -> init.js |
@@ -6,7 +6,7 b'' | |||
|
6 | 6 | //---------------------------------------------------------------------------- |
|
7 | 7 | |
|
8 | 8 | //============================================================================ |
|
9 |
// |
|
|
9 | // SelectionContainerWidget | |
|
10 | 10 | //============================================================================ |
|
11 | 11 | |
|
12 | 12 | /** |
@@ -15,8 +15,8 b'' | |||
|
15 | 15 | **/ |
|
16 | 16 | |
|
17 | 17 | define(["notebook/js/widgets/widget"], function(widget_manager){ |
|
18 |
var |
|
|
19 |
widget_manager.register_widget_model(' |
|
|
18 | var SelectionContainerModel = IPython.WidgetModel.extend({}); | |
|
19 | widget_manager.register_widget_model('SelectionContainerWidgetModel', SelectionContainerModel); | |
|
20 | 20 | |
|
21 | 21 | var AccordionView = IPython.DOMWidgetView.extend({ |
|
22 | 22 |
@@ -8,6 +8,6 b' from .widget_float_range import FloatRangeWidget' | |||
|
8 | 8 | from .widget_image import ImageWidget |
|
9 | 9 | from .widget_int import IntWidget |
|
10 | 10 | from .widget_int_range import IntRangeWidget |
|
11 | from .widget_multicontainer import MulticontainerWidget | |
|
12 | 11 | from .widget_selection import SelectionWidget |
|
12 | from .widget_selectioncontainer import SelectionContainerWidget | |
|
13 | 13 | from .widget_string import StringWidget |
@@ -1,4 +1,4 b'' | |||
|
1 |
""" |
|
|
1 | """SelectionContainerWidget class. | |
|
2 | 2 | |
|
3 | 3 | Represents a multipage container that can be used to group other widgets into |
|
4 | 4 | pages. |
@@ -20,8 +20,8 b' from IPython.utils.traitlets import Unicode, Dict, Int, List, Instance' | |||
|
20 | 20 | #----------------------------------------------------------------------------- |
|
21 | 21 | # Classes |
|
22 | 22 | #----------------------------------------------------------------------------- |
|
23 |
class |
|
|
24 |
target_name = Unicode(' |
|
|
23 | class SelectionContainerWidget(DOMWidget): | |
|
24 | target_name = Unicode('SelectionContainerWidgetModel') | |
|
25 | 25 | view_name = Unicode('TabView') |
|
26 | 26 | |
|
27 | 27 | # Keys |
General Comments 0
You need to be logged in to leave comments.
Login now