diff --git a/IPython/html/notebookapp.py b/IPython/html/notebookapp.py
index f3216da..bbbe81a 100644
--- a/IPython/html/notebookapp.py
+++ b/IPython/html/notebookapp.py
@@ -170,7 +170,7 @@ class NotebookWebApplication(web.Application):
cluster_manager=cluster_manager,
# IPython stuff
- js_extensions_path = ipython_app.js_extensions_path,
+ nb_extensions_path = ipython_app.nb_extensions_path,
mathjax_url=ipython_app.mathjax_url,
config=ipython_app.config,
use_less=ipython_app.use_less,
@@ -194,7 +194,7 @@ class NotebookWebApplication(web.Application):
handlers.extend(load_handlers('services.clusters.handlers'))
handlers.extend([
(r"/files/(.*)", AuthenticatedFileHandler, {'path' : settings['notebook_manager'].notebook_dir}),
- (r"/js_extensions/(.*)", FileFindHandler, {'path' : settings['js_extensions_path']}),
+ (r"/nb_extensions/(.*)", FileFindHandler, {'path' : settings['nb_extensions_path']}),
])
# prepend base_project_url onto the patterns that we match
new_handlers = []
@@ -435,11 +435,11 @@ class NotebookApp(BaseIPythonApplication):
"""return extra paths + the default location"""
return self.extra_static_paths + [DEFAULT_STATIC_FILES_PATH]
- js_extensions_path = List(Unicode, config=True,
- help="""paths for Javascript extensions. By default, this is just IPYTHONDIR/js_extensions"""
+ nb_extensions_path = List(Unicode, config=True,
+ help="""paths for Javascript extensions. By default, this is just IPYTHONDIR/nb_extensions"""
)
- def _js_extensions_path_default(self):
- return [os.path.join(get_ipython_dir(), 'js_extensions')]
+ def _nb_extensions_path_default(self):
+ return [os.path.join(get_ipython_dir(), 'nb_extensions')]
mathjax_url = Unicode("", config=True,
help="""The url for MathJax.js."""