mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Made display_view a public method.
This commit is contained in:
parent
19e9cee437
commit
8ceb29796a
@ -142,7 +142,7 @@ function(widget_manager, underscore, backbone){
|
|||||||
console.log("Could not determine where the display" +
|
console.log("Could not determine where the display" +
|
||||||
" message was from. Widget will not be displayed");
|
" message was from. Widget will not be displayed");
|
||||||
} else {
|
} else {
|
||||||
this._display_view(msg.content.data.view_name,
|
this.display_view(msg.content.data.view_name,
|
||||||
msg.content.data.parent,
|
msg.content.data.parent,
|
||||||
cell);
|
cell);
|
||||||
}
|
}
|
||||||
@ -310,7 +310,7 @@ function(widget_manager, underscore, backbone){
|
|||||||
|
|
||||||
|
|
||||||
// Create view that represents the model.
|
// Create view that represents the model.
|
||||||
_display_view: function (view_name, parent_id, cell) {
|
display_view: function (view_name, parent_id, cell) {
|
||||||
var new_views = [];
|
var new_views = [];
|
||||||
var view;
|
var view;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user