From 8ceb29796a09ec0ea790d3b308e153f8d7cff777 Mon Sep 17 00:00:00 2001 From: Jonathan Frederic Date: Wed, 18 Dec 2013 14:27:25 -0800 Subject: [PATCH] Made display_view a public method. --- IPython/html/static/notebook/js/widgets/base.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IPython/html/static/notebook/js/widgets/base.js b/IPython/html/static/notebook/js/widgets/base.js index d445e2bc6..c2c9bf275 100644 --- a/IPython/html/static/notebook/js/widgets/base.js +++ b/IPython/html/static/notebook/js/widgets/base.js @@ -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;