mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
remove dependencies to namespace in Keyboardmanager
This commit is contained in:
parent
0ff2b07242
commit
f7f3a15d9a
@ -57,6 +57,7 @@ define(function(){
|
|||||||
jglobal('RawCell','base/js/textcell');
|
jglobal('RawCell','base/js/textcell');
|
||||||
jglobal('Cell','base/js/cell');
|
jglobal('Cell','base/js/cell');
|
||||||
jglobal('OutputArea','notebook/js/outputarea');
|
jglobal('OutputArea','notebook/js/outputarea');
|
||||||
|
jglobal('KeyboardManager','notebook/js/keyboardmanager');
|
||||||
|
|
||||||
Jupyter.version = "4.0.0.dev";
|
Jupyter.version = "4.0.0.dev";
|
||||||
Jupyter._target = '_blank';
|
Jupyter._target = '_blank';
|
||||||
|
@ -9,11 +9,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
define([
|
define([
|
||||||
'base/js/namespace',
|
|
||||||
'jquery',
|
'jquery',
|
||||||
'base/js/utils',
|
'base/js/utils',
|
||||||
'base/js/keyboard',
|
'base/js/keyboard',
|
||||||
], function(IPython, $, utils, keyboard) {
|
], function($, utils, keyboard) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
// Main keyboard manager for the notebook
|
// Main keyboard manager for the notebook
|
||||||
@ -223,9 +222,5 @@ define([
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
// For backwards compatibility.
|
|
||||||
IPython.KeyboardManager = KeyboardManager;
|
|
||||||
|
|
||||||
return {'KeyboardManager': KeyboardManager};
|
return {'KeyboardManager': KeyboardManager};
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user