summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ide/constants.js
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-05-04 15:26:55 +0100
committerPhil Hughes <me@iamphill.com>2018-05-04 15:26:55 +0100
commit8a21c31b8b2baf19b1433ab5175fbc8bd66d07c6 (patch)
tree9c22064915d04db3b43fe86bac78d205d26de0d4 /app/assets/javascripts/ide/constants.js
parent616c1c7294646e74706cb13be0517383a73b3c27 (diff)
parent9f2f8679bec1e2d4161c429c2e6db80a20e376c9 (diff)
downloadgitlab-ce-8a21c31b8b2baf19b1433ab5175fbc8bd66d07c6.tar.gz
Merge branch '44846-improve-web-ide-left-panel-and-modes' into ide-sidebar-commit-box
Diffstat (limited to 'app/assets/javascripts/ide/constants.js')
-rw-r--r--app/assets/javascripts/ide/constants.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/javascripts/ide/constants.js b/app/assets/javascripts/ide/constants.js
index dbaf370a18c..48d4cc43198 100644
--- a/app/assets/javascripts/ide/constants.js
+++ b/app/assets/javascripts/ide/constants.js
@@ -16,3 +16,9 @@ export const activityBarViews = {
commit: 'commit-section',
review: 'ide-review',
};
+
+export const viewerTypes = {
+ mr: 'mrdiff',
+ edit: 'editor',
+ diff: 'diff',
+};