diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-01-12 00:52:42 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-01-18 20:33:02 -0600 |
commit | 83ecc02daa880e73010ac871f821c01c2c8c116c (patch) | |
tree | 9d58c071c899285d3c1054a84a5787cd7de3e8e1 /app/assets/javascripts/templates/issuable_template_selectors.js.es6 | |
parent | 0b3f00492bc84a84d7a9867d3d02454d61672660 (diff) | |
download | gitlab-ce-83ecc02daa880e73010ac871f821c01c2c8c116c.tar.gz |
resolve all prefer-const eslint violations
Diffstat (limited to 'app/assets/javascripts/templates/issuable_template_selectors.js.es6')
-rw-r--r-- | app/assets/javascripts/templates/issuable_template_selectors.js.es6 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/templates/issuable_template_selectors.js.es6 b/app/assets/javascripts/templates/issuable_template_selectors.js.es6 index 7310b9de074..97f6d37364d 100644 --- a/app/assets/javascripts/templates/issuable_template_selectors.js.es6 +++ b/app/assets/javascripts/templates/issuable_template_selectors.js.es6 @@ -1,4 +1,4 @@ -/* eslint-disable no-new, comma-dangle, class-methods-use-this, prefer-const, no-param-reassign */ +/* eslint-disable no-new, comma-dangle, class-methods-use-this, no-param-reassign */ ((global) => { class IssuableTemplateSelectors { @@ -19,7 +19,7 @@ } initEditor() { - let editor = $('.markdown-area'); + const editor = $('.markdown-area'); // Proxy ace-editor's .setValue to jQuery's .val editor.setValue = editor.val; editor.getValue = editor.val; |