diff --git a/notebook/static/base/js/namespace.js b/notebook/static/base/js/namespace.js index b86fa39dc..20c1f3f52 100644 --- a/notebook/static/base/js/namespace.js +++ b/notebook/static/base/js/namespace.js @@ -70,6 +70,7 @@ define(function(){ jglobal('MainToolBar','notebook/js/maintoolbar'); jglobal('NotebookNotificationArea','notebook/js/notificationarea'); jglobal('NotebookTour', 'notebook/js/tour'); + jglobal('MenuBar', 'notebook/js/menubar'); // tree jglobal('SessionList','tree/js/sessionlist'); diff --git a/notebook/static/notebook/js/menubar.js b/notebook/static/notebook/js/menubar.js index 56f1099c9..02ffcd318 100644 --- a/notebook/static/notebook/js/menubar.js +++ b/notebook/static/notebook/js/menubar.js @@ -16,7 +16,7 @@ define([ /** * Constructor * - * A MenuBar Class to generate the menubar of IPython notebook + * A MenuBar Class to generate the menubar of Jupyter notebook * * Parameters: * selector: string @@ -414,8 +414,5 @@ define([ }; - // Backwards compatability. - IPython.MenuBar = MenuBar; - return {'MenuBar': MenuBar}; });