From b16e88eac09285786bed0af50955ad74c352e1ca 2014-01-16 10:56:03 From: Jonathan Frederic Date: 2014-01-16 10:56:03 Subject: [PATCH] Remove text repr of js includes. --- diff --git a/IPython/html/widgets/widget.py b/IPython/html/widgets/widget.py index b3eee7a..2205cf1 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") #-----------------------------------------------------------------------------