diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-03-09 14:18:59 -0600 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-03-09 15:18:09 -0600 |
commit | f248be7257e82d15fa6441c551e4314bd36343d4 (patch) | |
tree | 773b6eefd1ae186432ec1c5fa469d80dbcec4349 /app/assets/javascripts/templates | |
parent | c591cf539072f8ef25ed5afc162bc7e87348cc15 (diff) | |
download | gitlab-ce-f248be7257e82d15fa6441c551e4314bd36343d4.tar.gz |
require jQuery to be explicitly importedremove-jquery-globals
Diffstat (limited to 'app/assets/javascripts/templates')
-rw-r--r-- | app/assets/javascripts/templates/issuable_template_selector.js | 1 | ||||
-rw-r--r-- | app/assets/javascripts/templates/issuable_template_selectors.js | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/templates/issuable_template_selector.js b/app/assets/javascripts/templates/issuable_template_selector.js index b5b64f44a11..6fea03af46a 100644 --- a/app/assets/javascripts/templates/issuable_template_selector.js +++ b/app/assets/javascripts/templates/issuable_template_selector.js @@ -1,5 +1,6 @@ /* eslint-disable no-useless-return, max-len */ +import $ from 'jquery'; import Api from '../api'; import TemplateSelector from '../blob/template_selector'; diff --git a/app/assets/javascripts/templates/issuable_template_selectors.js b/app/assets/javascripts/templates/issuable_template_selectors.js index 66d868c5839..50e58ec5c46 100644 --- a/app/assets/javascripts/templates/issuable_template_selectors.js +++ b/app/assets/javascripts/templates/issuable_template_selectors.js @@ -1,4 +1,6 @@ /* eslint-disable no-new, class-methods-use-this */ + +import $ from 'jquery'; import IssuableTemplateSelector from './issuable_template_selector'; export default class IssuableTemplateSelectors { |