Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-04-03 13:10:01 +0300
committerPhil Hughes <me@iamphill.com>2018-04-04 11:20:55 +0300
commit259adc34155c2a23dfa482cc1d2664e80200dcc8 (patch)
tree7b8d178748702f6132b532b93daf34274b525f80 /app/assets/javascripts/ide/stores/utils.js
parentc0dddb511c3bedc9b07df97739a27e07354b2242 (diff)
Updated components to PascalCase
Added comment for `key` usage
Diffstat (limited to 'app/assets/javascripts/ide/stores/utils.js')
-rw-r--r--app/assets/javascripts/ide/stores/utils.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/ide/stores/utils.js b/app/assets/javascripts/ide/stores/utils.js
index 3389eeeaa2e..63e4de3b17d 100644
--- a/app/assets/javascripts/ide/stores/utils.js
+++ b/app/assets/javascripts/ide/stores/utils.js
@@ -1,5 +1,7 @@
export const dataStructure = () => ({
id: '',
+ // Key will contain a mixture of ID and path
+ // it can also contain a prefix `pending-` for files opened in review mode
key: '',
type: '',
projectId: '',