summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ide/constants.js
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-04-19 12:04:49 +0100
committerPhil Hughes <me@iamphill.com>2018-04-19 12:04:49 +0100
commitaadde87f42e4b705b652f009a9681c48de2b9c61 (patch)
tree0df55145f501332645e27537553e453c4745fb8e /app/assets/javascripts/ide/constants.js
parentf1719de3851238c98558ed91dddbb9f5a7752e95 (diff)
downloadgitlab-ce-aadde87f42e4b705b652f009a9681c48de2b9c61.tar.gz
moved keycodes constants to common lib file
updated markup to use buttons instead of links
Diffstat (limited to 'app/assets/javascripts/ide/constants.js')
-rw-r--r--app/assets/javascripts/ide/constants.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/assets/javascripts/ide/constants.js b/app/assets/javascripts/ide/constants.js
index 09ee9d39d43..b06da9f95d1 100644
--- a/app/assets/javascripts/ide/constants.js
+++ b/app/assets/javascripts/ide/constants.js
@@ -2,10 +2,6 @@
export const MAX_FILE_FINDER_RESULTS = 40;
export const FILE_FINDER_ROW_HEIGHT = 55;
export const FILE_FINDER_EMPTY_ROW_HEIGHT = 33;
-export const UP_KEY_CODE = 38;
-export const DOWN_KEY_CODE = 40;
-export const ENTER_KEY_CODE = 13;
-export const ESC_KEY_CODE = 27;
// Commit message textarea
export const MAX_TITLE_LENGTH = 50;