remove dependencies to namespace in Completer

This commit is contained in:
Matthias Bussonnier 2015-05-19 10:47:29 -07:00
parent f7f3a15d9a
commit f3e50f0fd5
2 changed files with 2 additions and 5 deletions

View File

@ -58,6 +58,7 @@ define(function(){
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'); jglobal('KeyboardManager','notebook/js/keyboardmanager');
jglobal('Completer','notebook/js/completer');
Jupyter.version = "4.0.0.dev"; Jupyter.version = "4.0.0.dev";
Jupyter._target = '_blank'; Jupyter._target = '_blank';

View File

@ -2,13 +2,12 @@
// Distributed under the terms of the Modified BSD License. // Distributed under the terms of the Modified BSD License.
define([ define([
'base/js/namespace',
'jquery', 'jquery',
'base/js/utils', 'base/js/utils',
'base/js/keyboard', 'base/js/keyboard',
'notebook/js/contexthint', 'notebook/js/contexthint',
'codemirror/lib/codemirror', 'codemirror/lib/codemirror',
], function(IPython, $, utils, keyboard, CodeMirror) { ], function($, utils, keyboard, CodeMirror) {
"use strict"; "use strict";
// easier key mapping // easier key mapping
@ -409,8 +408,5 @@ define([
}, 50); }, 50);
}; };
// For backwards compatability.
IPython.Completer = Completer;
return {'Completer': Completer}; return {'Completer': Completer};
}); });