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:
authorFilipa Lacerda <filipa@gitlab.com>2017-10-10 14:06:42 +0300
committerPhil Hughes <me@iamphill.com>2017-10-10 14:06:42 +0300
commitb5029214639593af5b867e9c8f06dd52767b7362 (patch)
tree223541e93dfdfe6aec355e7064949e58502182e4 /app/assets/javascripts/ci_lint_editor.js
parent377c10b49391b02dee97b659575c53a5c5d2ffbe (diff)
Remove Build code from global namespace
Diffstat (limited to 'app/assets/javascripts/ci_lint_editor.js')
-rw-r--r--app/assets/javascripts/ci_lint_editor.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/assets/javascripts/ci_lint_editor.js b/app/assets/javascripts/ci_lint_editor.js
index dd4a08a2f31..b9469e5b7cb 100644
--- a/app/assets/javascripts/ci_lint_editor.js
+++ b/app/assets/javascripts/ci_lint_editor.js
@@ -1,7 +1,4 @@
-
-window.gl = window.gl || {};
-
-class CILintEditor {
+export default class CILintEditor {
constructor() {
this.editor = window.ace.edit('ci-editor');
this.textarea = document.querySelector('#content');
@@ -13,5 +10,3 @@ class CILintEditor {
});
}
}
-
-gl.CILintEditor = CILintEditor;