remove dependencies to namespace in MenuBar

This commit is contained in:
Matthias Bussonnier 2015-05-26 12:03:32 -07:00
parent 3bcbd989b7
commit 8f3858749a
2 changed files with 2 additions and 4 deletions

View File

@ -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');

View File

@ -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};
});