diff options
| author | Alon Levy <alon@pobox.com> | 2015-03-08 14:23:29 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-03-08 14:23:29 +0200 |
| commit | fc2aa0d574f70897280e26a53d8fb36eed78d715 (patch) | |
| tree | cb2fc7037073f23a53af706619d4ef12857414cc /src/client/consts.js | |
| parent | 5adfc7654fb49e116e21bc8e8202d4a148be3780 (diff) | |
client/view/completer: use VK_*
Diffstat (limited to 'src/client/consts.js')
| -rw-r--r-- | src/client/consts.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/consts.js b/src/client/consts.js index 411a79e6..1c426695 100644 --- a/src/client/consts.js +++ b/src/client/consts.js @@ -19,9 +19,11 @@ define(function() { description: description, NEW_NODE_NAME: 'new node', - // Keycodes (should just use jquery) + // Virtual Keycodes i.e. event.keyCode / event.key + // https://dvcs.w3.org/hg/dom3events/raw-file/tip/html/DOM3-Events.html#keys-keyvalues VK_UP: 38, VK_DOWN: 40, VK_ESCAPE: 27, + VK_TAB: 9, }; }); |
