mirror of
https://github.com/jupyter/notebook.git
synced 2025-04-12 14:00:27 +08:00
import Utils keycodes into the completer
This commit is contained in:
parent
fa6b8974ea
commit
cfaa7ba427
@ -21,15 +21,7 @@ var IPython = (function(IPython ) {
|
||||
"use strict";
|
||||
|
||||
// easyier key mapping
|
||||
var key = { tab:9,
|
||||
esc:27,
|
||||
backspace:8,
|
||||
space:32,
|
||||
shift:16,
|
||||
enter:13,
|
||||
upArrow:38, // check with keyDown..
|
||||
downArrow :40 // check with keyUp
|
||||
};
|
||||
var key = IPython.utils.keycodes;
|
||||
|
||||
// what is the common start of all completions
|
||||
function sharedStart(B){
|
||||
|
Loading…
x
Reference in New Issue
Block a user