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/blob_edit | |
parent | c591cf539072f8ef25ed5afc162bc7e87348cc15 (diff) | |
download | gitlab-ce-f248be7257e82d15fa6441c551e4314bd36343d4.tar.gz |
require jQuery to be explicitly importedremove-jquery-globals
Diffstat (limited to 'app/assets/javascripts/blob_edit')
-rw-r--r-- | app/assets/javascripts/blob_edit/blob_bundle.js | 2 | ||||
-rw-r--r-- | app/assets/javascripts/blob_edit/edit_blob.js | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/blob_edit/blob_bundle.js b/app/assets/javascripts/blob_edit/blob_bundle.js index 931ed042dfd..4424232f642 100644 --- a/app/assets/javascripts/blob_edit/blob_bundle.js +++ b/app/assets/javascripts/blob_edit/blob_bundle.js @@ -1,5 +1,7 @@ /* eslint-disable func-names, space-before-function-paren, prefer-arrow-callback, no-var, quotes, vars-on-top, no-unused-vars, no-new, max-len */ /* global EditBlob */ + +import $ from 'jquery'; import NewCommitForm from '../new_commit_form'; import EditBlob from './edit_blob'; import BlobFileDropzone from '../blob/blob_file_dropzone'; diff --git a/app/assets/javascripts/blob_edit/edit_blob.js b/app/assets/javascripts/blob_edit/edit_blob.js index d4f6adaccbc..82a3d494b67 100644 --- a/app/assets/javascripts/blob_edit/edit_blob.js +++ b/app/assets/javascripts/blob_edit/edit_blob.js @@ -1,5 +1,6 @@ /* global ace */ +import $ from 'jquery'; import axios from '~/lib/utils/axios_utils'; import createFlash from '~/flash'; import { __ } from '~/locale'; |