summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/templates/issuable_template_selectors.js.es6
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-01-12 00:52:42 -0500
committerMike Greiling <mike@pixelcog.com>2017-01-18 20:33:02 -0600
commit83ecc02daa880e73010ac871f821c01c2c8c116c (patch)
tree9d58c071c899285d3c1054a84a5787cd7de3e8e1 /app/assets/javascripts/templates/issuable_template_selectors.js.es6
parent0b3f00492bc84a84d7a9867d3d02454d61672660 (diff)
downloadgitlab-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.es64
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;