mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
remove dependencies to namespace in Completer
This commit is contained in:
parent
f7f3a15d9a
commit
f3e50f0fd5
@ -58,6 +58,7 @@ define(function(){
|
||||
jglobal('Cell','base/js/cell');
|
||||
jglobal('OutputArea','notebook/js/outputarea');
|
||||
jglobal('KeyboardManager','notebook/js/keyboardmanager');
|
||||
jglobal('Completer','notebook/js/completer');
|
||||
|
||||
Jupyter.version = "4.0.0.dev";
|
||||
Jupyter._target = '_blank';
|
||||
|
@ -2,13 +2,12 @@
|
||||
// Distributed under the terms of the Modified BSD License.
|
||||
|
||||
define([
|
||||
'base/js/namespace',
|
||||
'jquery',
|
||||
'base/js/utils',
|
||||
'base/js/keyboard',
|
||||
'notebook/js/contexthint',
|
||||
'codemirror/lib/codemirror',
|
||||
], function(IPython, $, utils, keyboard, CodeMirror) {
|
||||
], function($, utils, keyboard, CodeMirror) {
|
||||
"use strict";
|
||||
|
||||
// easier key mapping
|
||||
@ -409,8 +408,5 @@ define([
|
||||
}, 50);
|
||||
};
|
||||
|
||||
// For backwards compatability.
|
||||
IPython.Completer = Completer;
|
||||
|
||||
return {'Completer': Completer};
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user