From 9d65fa3cf637881b5081a6af844f8b9fc271bf28 2012-05-31 20:08:14 From: Matthias BUSSONNIER Date: 2012-05-31 20:08:14 Subject: [PATCH] import Utils keycodes into the completer --- diff --git a/IPython/frontend/html/notebook/static/js/completer.js b/IPython/frontend/html/notebook/static/js/completer.js index 82ea8f0..52f8d92 100644 --- a/IPython/frontend/html/notebook/static/js/completer.js +++ b/IPython/frontend/html/notebook/static/js/completer.js @@ -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){