Remove text repr of js includes.

pull/37/head
Jonathan Frederic 12 years ago
parent 810ea87e5b
commit 048ba656d4

@ -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")
#-----------------------------------------------------------------------------

Loading…
Cancel
Save