From 048ba656d47dea932ddbc88d8a1ccded83402688 Mon Sep 17 00:00:00 2001 From: Jonathan Frederic Date: Fri, 1 Nov 2013 18:35:25 +0000 Subject: [PATCH] Remove text repr of js includes. --- IPython/html/widgets/widget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPython/html/widgets/widget.py b/IPython/html/widgets/widget.py index b3eee7a96..2205cf102 100644 --- a/IPython/html/widgets/widget.py +++ b/IPython/html/widgets/widget.py @@ -36,7 +36,7 @@ def init_widget_js(): if not (name == 'widget' or name == '__init__') and name.startswith('widget_'): # Remove 'widget_' from the start of the name before compiling the path. js_path = '/static/notebook/js/widgets/%s.js' % name[7:] - display(Javascript(data='$.getScript("%s");' % js_path)) + display(Javascript(data='$.getScript("%s");' % js_path), exclude="text/plain") #-----------------------------------------------------------------------------