diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-08-18 10:10:27 -0600 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-08-18 21:48:11 +0100 |
commit | 8db088ccc726996bdcda74373d9ce855dedf5bd5 (patch) | |
tree | a712322a254a7032fefcf215dcb0306a339a422c /app/assets/javascripts/snippet | |
parent | 0baaf490e289adb36ef7145a57f75cdab05eb01c (diff) | |
download | gitlab-ce-8db088ccc726996bdcda74373d9ce855dedf5bd5.tar.gz |
Don't use global variables.ace-ventura
Diffstat (limited to 'app/assets/javascripts/snippet')
-rw-r--r-- | app/assets/javascripts/snippet/snippet_bundle.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/snippet/snippet_bundle.js b/app/assets/javascripts/snippet/snippet_bundle.js index 093f266059d..855e97eb301 100644 --- a/app/assets/javascripts/snippet/snippet_bundle.js +++ b/app/assets/javascripts/snippet/snippet_bundle.js @@ -2,7 +2,7 @@ (function() { $(function() { - editor = ace.edit("editor") + var editor = ace.edit("editor") $(".snippet-form-holder form").on('submit', function() { $(".snippet-file-content").val(editor.getValue()); |