##// END OF EJS Templates
move widget shim to html.py...
Min RK -
Show More
@@ -8,13 +8,17 b' import sys'
8 8 from warnings import warn
9 9
10 10 warn("The `IPython.html` package has been deprecated. "
11 "You should import from `jupyter_notebook` instead.")
11 "You should import from `jupyter_notebook` instead. "
12 "`IPython.html.widgets` has moved to `ipython_widgets`.")
12 13
13 14 from IPython.utils.shimmodule import ShimModule
14 15
15 16 sys.modules['IPython.html'] = ShimModule(
16 17 src='IPython.html', mirror='jupyter_notebook')
17 18
19 sys.modules['IPython.html.widgets'] = ShimModule(
20 src='IPython.html.widgets', mirror='ipython_widgets')
21
18 22 if __name__ == '__main__':
19 23 from jupyter_notebook import notebookapp as app
20 24 app.launch_new_instance()
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now