diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-10-10 14:06:42 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-10-10 14:06:42 +0300 |
commit | b5029214639593af5b867e9c8f06dd52767b7362 (patch) | |
tree | 223541e93dfdfe6aec355e7064949e58502182e4 /app/assets/javascripts/ci_lint_editor.js | |
parent | 377c10b49391b02dee97b659575c53a5c5d2ffbe (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.js | 7 |
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; |