diff --git a/notebook/static/base/js/namespace.js b/notebook/static/base/js/namespace.js index 61df64d50..de828f1c9 100644 --- a/notebook/static/base/js/namespace.js +++ b/notebook/static/base/js/namespace.js @@ -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'; diff --git a/notebook/static/notebook/js/keyboardmanager.js b/notebook/static/notebook/js/keyboardmanager.js index be2171b27..505b0b597 100644 --- a/notebook/static/notebook/js/keyboardmanager.js +++ b/notebook/static/notebook/js/keyboardmanager.js @@ -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}; });