summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ide/constants.js
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-04-18 14:19:11 +0100
committerPhil Hughes <me@iamphill.com>2018-04-18 14:19:11 +0100
commit64be67f322f0aa4acee8df5062631a6ee867f730 (patch)
tree3b733e113bee9b6b8c1bbc29c7dba00900bb4097 /app/assets/javascripts/ide/constants.js
parent48fb30f730f0bf8c02c21d992cb83fdf35a00e91 (diff)
parent9c2f6e04cf5d2eb89d0ec68e8ace87b3804e9ae5 (diff)
downloadgitlab-ce-64be67f322f0aa4acee8df5062631a6ee867f730.tar.gz
Merge branch 'master' into ide-file-finder
Diffstat (limited to 'app/assets/javascripts/ide/constants.js')
-rw-r--r--app/assets/javascripts/ide/constants.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/ide/constants.js b/app/assets/javascripts/ide/constants.js
index e4e54f967aa..09ee9d39d43 100644
--- a/app/assets/javascripts/ide/constants.js
+++ b/app/assets/javascripts/ide/constants.js
@@ -6,3 +6,7 @@ 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;
+export const MAX_BODY_LENGTH = 72;