mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +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" +
|
||||
" message was from. Widget will not be displayed");
|
||||
} else {
|
||||
this._display_view(msg.content.data.view_name,
|
||||
this.display_view(msg.content.data.view_name,
|
||||
msg.content.data.parent,
|
||||
cell);
|
||||
}
|
||||
@ -310,7 +310,7 @@ function(widget_manager, underscore, backbone){
|
||||
|
||||
|
||||
// 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 view;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user