mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
remove dependencies to namespace in MenuBar
This commit is contained in:
parent
3bcbd989b7
commit
8f3858749a
@ -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');
|
||||
|
@ -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};
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user