mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-13 13:17:50 +08:00
Finished renaming Multicontainer to SelectionContainer
This commit is contained in:
parent
a528610e07
commit
70c6a295d0
@ -342,8 +342,8 @@ define([
|
||||
"notebook/js/widgets/widget_image",
|
||||
"notebook/js/widgets/widget_int",
|
||||
"notebook/js/widgets/widget_int_range",
|
||||
"notebook/js/widgets/widget_multicontainer",
|
||||
"notebook/js/widgets/widget_selection",
|
||||
"notebook/js/widgets/widget_selectioncontainer",
|
||||
"notebook/js/widgets/widget_string",
|
||||
], function(){ return true; });
|
||||
>>>>>>> renamed: basic_widgets.js -> init.js
|
||||
|
@ -6,7 +6,7 @@
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
//============================================================================
|
||||
// MultiContainerWidget
|
||||
// SelectionContainerWidget
|
||||
//============================================================================
|
||||
|
||||
/**
|
||||
@ -15,8 +15,8 @@
|
||||
**/
|
||||
|
||||
define(["notebook/js/widgets/widget"], function(widget_manager){
|
||||
var MulticontainerModel = IPython.WidgetModel.extend({});
|
||||
widget_manager.register_widget_model('MulticontainerWidgetModel', MulticontainerModel);
|
||||
var SelectionContainerModel = IPython.WidgetModel.extend({});
|
||||
widget_manager.register_widget_model('SelectionContainerWidgetModel', SelectionContainerModel);
|
||||
|
||||
var AccordionView = IPython.DOMWidgetView.extend({
|
||||
|
||||
|
@ -8,6 +8,6 @@ from .widget_float_range import FloatRangeWidget
|
||||
from .widget_image import ImageWidget
|
||||
from .widget_int import IntWidget
|
||||
from .widget_int_range import IntRangeWidget
|
||||
from .widget_multicontainer import MulticontainerWidget
|
||||
from .widget_selection import SelectionWidget
|
||||
from .widget_selectioncontainer import SelectionContainerWidget
|
||||
from .widget_string import StringWidget
|
||||
|
@ -1,4 +1,4 @@
|
||||
"""MulticontainerWidget class.
|
||||
"""SelectionContainerWidget class.
|
||||
|
||||
Represents a multipage container that can be used to group other widgets into
|
||||
pages.
|
||||
@ -20,8 +20,8 @@ from IPython.utils.traitlets import Unicode, Dict, Int, List, Instance
|
||||
#-----------------------------------------------------------------------------
|
||||
# Classes
|
||||
#-----------------------------------------------------------------------------
|
||||
class MulticontainerWidget(DOMWidget):
|
||||
target_name = Unicode('MulticontainerWidgetModel')
|
||||
class SelectionContainerWidget(DOMWidget):
|
||||
target_name = Unicode('SelectionContainerWidgetModel')
|
||||
view_name = Unicode('TabView')
|
||||
|
||||
# Keys
|
||||
|
Loading…
Reference in New Issue
Block a user