remove dependencies to namespace in Keyboardmanager

This commit is contained in:
Matthias Bussonnier 2015-05-19 10:45:55 -07:00
parent 0ff2b07242
commit f7f3a15d9a
2 changed files with 2 additions and 6 deletions

View File

@ -57,6 +57,7 @@ define(function(){
jglobal('RawCell','base/js/textcell');
jglobal('Cell','base/js/cell');
jglobal('OutputArea','notebook/js/outputarea');
jglobal('KeyboardManager','notebook/js/keyboardmanager');
Jupyter.version = "4.0.0.dev";
Jupyter._target = '_blank';

View File

@ -9,11 +9,10 @@
*/
define([
'base/js/namespace',
'jquery',
'base/js/utils',
'base/js/keyboard',
], function(IPython, $, utils, keyboard) {
], function($, utils, keyboard) {
"use strict";
// Main keyboard manager for the notebook
@ -223,9 +222,5 @@ define([
});
};
// For backwards compatibility.
IPython.KeyboardManager = KeyboardManager;
return {'KeyboardManager': KeyboardManager};
});