Skip to content
Snippets Groups Projects
Unverified Commit f248be72 authored by Mike Greiling's avatar Mike Greiling
Browse files

require jQuery to be explicitly imported

parent c591cf53
No related branches found
No related tags found
No related merge requests found
Showing
with 25 additions and 1 deletion
import $ from 'jquery';
import Cookies from 'js-cookie';
import _ from 'underscore';
import bp from './breakpoints';
Loading
Loading
/* eslint-disable func-names, prefer-arrow-callback */
import $ from 'jquery';
import Api from './api';
import { humanize } from './lib/utils/text_utility';
 
Loading
Loading
import $ from 'jquery';
import Vue from 'vue';
import Cookies from 'js-cookie';
import Flash from '../flash';
Loading
Loading
import $ from 'jquery';
import axios from '~/lib/utils/axios_utils';
import flash from '~/flash';
import { __ } from '~/locale';
Loading
Loading
/* eslint-disable comma-dangle, object-shorthand, func-names, no-else-return, quotes, no-lonely-if, max-len */
/* global CommentsStore */
 
import $ from 'jquery';
import Vue from 'vue';
 
const CommentAndResolveBtn = Vue.extend({
Loading
Loading
/* global CommentsStore */
 
import $ from 'jquery';
import Vue from 'vue';
import collapseIcon from '../icons/collapse_icon.svg';
import Notes from '../../notes';
Loading
Loading
Loading
Loading
@@ -2,6 +2,7 @@
/* global DiscussionMixins */
/* global CommentsStore */
 
import $ from 'jquery';
import Vue from 'vue';
 
import '../mixins/discussion';
Loading
Loading
Loading
Loading
@@ -2,6 +2,7 @@
/* global CommentsStore */
/* global ResolveService */
 
import $ from 'jquery';
import Vue from 'vue';
import Flash from '../../flash';
 
Loading
Loading
/* eslint-disable func-names, comma-dangle, new-cap, no-new, max-len */
/* global ResolveCount */
 
import $ from 'jquery';
import Vue from 'vue';
import './models/discussion';
import './models/note';
Loading
Loading
/* eslint-disable space-before-function-paren, camelcase, guard-for-in, no-restricted-syntax, no-unused-vars, max-len */
/* global NoteModel */
 
import $ from 'jquery';
import Vue from 'vue';
import { localTimeAgo } from '../../lib/utils/datetime_utility';
 
Loading
Loading
/* eslint-disable func-names, space-before-function-paren, no-var, prefer-arrow-callback, wrap-iife, no-shadow, consistent-return, one-var, one-var-declaration-per-line, camelcase, default-case, no-new, quotes, no-duplicate-case, no-case-declarations, no-fallthrough, max-len */
import $ from 'jquery';
import Flash from './flash';
import GfmAutoComplete from './gfm_auto_complete';
import { convertPermissionToBoolean } from './lib/utils/common_utils';
Loading
Loading
import $ from 'jquery';
import Dropzone from 'dropzone';
import _ from 'underscore';
import './preview_markdown';
Loading
Loading
/* global dateFormat */
 
import $ from 'jquery';
import Pikaday from 'pikaday';
import axios from './lib/utils/axios_utils';
import { parsePikadayDate, pikadayToString } from './lib/utils/datefix';
Loading
Loading
Loading
Loading
@@ -3,6 +3,8 @@
* Renders the stop "button" that allows stop an environment.
* Used in environments table.
*/
import $ from 'jquery';
import eventHub from '../event_hub';
import loadingIcon from '../../vue_shared/components/loading_icon.vue';
import tooltip from '../../vue_shared/directives/tooltip';
Loading
Loading
import $ from 'jquery';
import Cookies from 'js-cookie';
 
export default () => {
Loading
Loading
import $ from 'jquery';
import _ from 'underscore';
import {
getSelector,
Loading
Loading
import $ from 'jquery';
import axios from '../lib/utils/axios_utils';
import { __ } from '../locale';
import Flash from '../flash';
Loading
Loading
import $ from 'jquery';
import _ from 'underscore';
import axios from './lib/utils/axios_utils';
 
Loading
Loading
import $ from 'jquery';
import _ from 'underscore';
import glRegexp from './lib/utils/regexp';
import AjaxCache from './lib/utils/ajax_cache';
Loading
Loading
/* eslint-disable func-names, no-underscore-dangle, space-before-function-paren, no-var, one-var, one-var-declaration-per-line, prefer-rest-params, max-len, vars-on-top, wrap-iife, no-unused-vars, quotes, no-shadow, no-cond-assign, prefer-arrow-callback, no-return-assign, no-else-return, camelcase, comma-dangle, no-lonely-if, guard-for-in, no-restricted-syntax, consistent-return, prefer-template, no-param-reassign, no-loop-func, no-mixed-operators */
/* global fuzzaldrinPlus */
import $ from 'jquery';
import _ from 'underscore';
import fuzzaldrinPlus from 'fuzzaldrin-plus';
import axios from './lib/utils/axios_utils';
Loading
Loading
@@ -576,7 +578,7 @@ GitLabDropdown = (function() {
for (var i = 0; i < html.length; i += 1) {
var el = html[i];
 
if (el instanceof jQuery) {
if (el instanceof $) {
el = el.get(0);
}
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment