mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
register bare views
This commit is contained in:
parent
4ec1a3b41e
commit
fb336de4ed
@ -422,6 +422,8 @@ define(["widgets/js/manager",
|
||||
});
|
||||
|
||||
|
||||
widgetmanager.WidgetManager.register_widget_view('WidgetView', WidgetView);
|
||||
|
||||
var DOMWidgetView = WidgetView.extend({
|
||||
initialize: function (parameters) {
|
||||
// Public constructor
|
||||
@ -593,6 +595,8 @@ define(["widgets/js/manager",
|
||||
},
|
||||
});
|
||||
|
||||
widgetmanager.WidgetManager.register_widget_view('DOMWidgetView', DOMWidgetView);
|
||||
|
||||
var widget = {
|
||||
'WidgetModel': WidgetModel,
|
||||
'WidgetView': WidgetView,
|
||||
|
Loading…
Reference in New Issue
Block a user