Commit cde3b000 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'mw-gl-breakpoints-13' into 'master'

Replace breakpoints with GlBreakpointInstance in lib/utils/common_utils.js

See merge request gitlab-org/gitlab!22028
parents d7514ce8 cb12d1e5
......@@ -2,12 +2,12 @@
* @module common-utils
*/
import { GlBreakpointInstance as breakpointInstance } from '@gitlab/ui/dist/utils';
import $ from 'jquery';
import axios from './axios_utils';
import { getLocationHash } from './url_utility';
import { convertToCamelCase, convertToSnakeCase } from './text_utility';
import { isObject } from './type_utility';
import breakpointInstance from '../../breakpoints';
export const getPagePath = (index = 0) => {
const page = $('body').attr('data-page') || '';
......
import MockAdapter from 'axios-mock-adapter';
import { GlBreakpointInstance as breakpointInstance } from '@gitlab/ui/dist/utils';
import axios from '~/lib/utils/axios_utils';
import * as commonUtils from '~/lib/utils/common_utils';
import { faviconDataUrl, overlayDataUrl, faviconWithOverlayDataUrl } from './mock_data';
import breakpointInstance from '~/breakpoints';
const PIXEL_TOLERANCE = 0.2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment