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 32 additions and 4 deletions
/* eslint-disable comma-dangle, space-before-function-paren, no-alert */
 
import $ from 'jquery';
import Vue from 'vue';
 
window.gl = window.gl || {};
Loading
Loading
<script>
import $ from 'jquery';
import eventHub from '../eventhub';
import ProjectSelect from './project_select.vue';
import ListIssue from '../models/issue';
Loading
Loading
/* eslint-disable comma-dangle, space-before-function-paren, no-new */
 
import $ from 'jquery';
import Vue from 'vue';
import Flash from '../../flash';
import { __ } from '../../locale';
Loading
Loading
import $ from 'jquery';
import Vue from 'vue';
import userAvatarLink from '../../vue_shared/components/user_avatar/user_avatar_link.vue';
import eventHub from '../eventhub';
Loading
Loading
/* eslint-disable func-names, no-new, space-before-function-paren, one-var,
promise/catch-or-return */
/* eslint-disable func-names, no-new, space-before-function-paren, one-var, promise/catch-or-return, max-len */
import $ from 'jquery';
import axios from '~/lib/utils/axios_utils';
import _ from 'underscore';
import CreateLabelDropdown from '../../create_label';
Loading
Loading
<script>
/* global ListIssue */
import $ from 'jquery';
import _ from 'underscore';
import eventHub from '../eventhub';
import loadingIcon from '../../vue_shared/components/loading_icon.vue';
Loading
Loading
/* eslint-disable one-var, quote-props, comma-dangle, space-before-function-paren */
 
import $ from 'jquery';
import _ from 'underscore';
import Vue from 'vue';
 
Loading
Loading
/* eslint-disable no-unused-vars, no-mixed-operators, comma-dangle */
/* global DocumentTouch */
 
import $ from 'jquery';
import sortableConfig from '../../sortable/sortable_config';
 
window.gl = window.gl || {};
Loading
Loading
/* eslint-disable comma-dangle, space-before-function-paren, one-var, no-shadow, dot-notation, max-len */
/* global List */
import $ from 'jquery';
import _ from 'underscore';
import Cookies from 'js-cookie';
import { getUrlParamsArray } from '~/lib/utils/common_utils';
Loading
Loading
import $ from 'jquery';
const MODAL_SELECTOR = '#modal-delete-branch';
 
class DeleteModal {
Loading
Loading
import $ from 'jquery';
export const addTooltipToEl = (el) => {
const textEl = el.querySelector('.js-breadcrumb-item-text');
 
Loading
Loading
/* eslint-disable func-names, prefer-arrow-callback, no-return-assign */
import $ from 'jquery';
import { visitUrl } from './lib/utils/url_utility';
import { convertPermissionToBoolean } from './lib/utils/common_utils';
 
Loading
Loading
/* eslint-disable func-names*/
import $ from 'jquery';
 
export default function handleRevealVariables() {
$('.js-reveal-variables')
.off('click')
.on('click', function () {
.on('click', function click() {
$('.js-build-variables').toggle();
$(this).hide();
});
Loading
Loading
import $ from 'jquery';
import VariableList from './ci_variable_list';
 
// Used for the variable list on scheduled pipeline edit page
Loading
Loading
/* eslint-disable func-names, space-before-function-paren, wrap-iife, no-var, no-use-before-define, prefer-arrow-callback, no-else-return, consistent-return, prefer-template, quotes, one-var, one-var-declaration-per-line, no-unused-vars, no-return-assign, comma-dangle, quote-props, no-unused-expressions, no-sequences, object-shorthand, max-len */
 
import $ from 'jquery';
// Width where images must fits in, for 2-up this gets divided by 2
const availWidth = 900;
const viewModes = ['two-up', 'swipe'];
Loading
Loading
/* global Flash */
 
import $ from 'jquery';
import axios from './lib/utils/axios_utils';
import { n__, s__ } from './locale';
 
Loading
Loading
import $ from 'jquery';
import { pluralize } from './lib/utils/text_utility';
import { localTimeAgo } from './lib/utils/datetime_utility';
import Pager from './pager';
Loading
Loading
/* eslint-disable func-names, space-before-function-paren, wrap-iife, quotes, no-var, object-shorthand, consistent-return, no-unused-vars, comma-dangle, vars-on-top, prefer-template, max-len */
import $ from 'jquery';
import { localTimeAgo } from './lib/utils/datetime_utility';
import axios from './lib/utils/axios_utils';
 
Loading
Loading
/* eslint-disable func-names, space-before-function-paren, one-var, no-var, one-var-declaration-per-line, object-shorthand, comma-dangle, prefer-arrow-callback, no-else-return, newline-per-chained-call, wrap-iife, max-len */
import $ from 'jquery';
import { __ } from './locale';
import axios from './lib/utils/axios_utils';
import flash from './flash';
Loading
Loading
/* eslint-disable func-names, space-before-function-paren, wrap-iife, one-var, no-var, camelcase, one-var-declaration-per-line, no-else-return, max-len */
import $ from 'jquery';
import { rstrip } from './lib/utils/common_utils';
 
window.ConfirmDangerModal = (function() {
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