chore(frontend): fix jquery imports
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import $ from 'jquery';
|
||||
import 'jquery';
|
||||
import { PureComponent } from 'react';
|
||||
import * as React from 'react';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Libraries
|
||||
import $ from 'jquery';
|
||||
import 'jquery';
|
||||
import { uniqBy } from 'lodash';
|
||||
import { PureComponent } from 'react';
|
||||
import * as React from 'react';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import angular from 'angular';
|
||||
import $ from 'jquery';
|
||||
import 'jquery';
|
||||
|
||||
import coreModule from './core_module';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import angular from 'angular';
|
||||
import $ from 'jquery';
|
||||
import 'jquery';
|
||||
import { isFunction } from 'lodash';
|
||||
|
||||
import coreModule from './core_module';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import $ from 'jquery';
|
||||
import 'jquery';
|
||||
import { debounce, each, map, partial, escape, unescape } from 'lodash';
|
||||
|
||||
import coreModule from 'app/angular/core_module';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// @ts-ignore
|
||||
import baron from 'baron';
|
||||
import $ from 'jquery';
|
||||
import 'jquery';
|
||||
|
||||
import coreModule from 'app/angular/core_module';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import $ from 'jquery';
|
||||
import 'jquery';
|
||||
import { debounce, each, indexOf, map, partial, escape, unescape } from 'lodash';
|
||||
|
||||
import coreModule from 'app/angular/core_module';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import $ from 'jquery';
|
||||
import 'jquery';
|
||||
import { each, reduce } from 'lodash';
|
||||
|
||||
import coreModule from './core_module';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import angular from 'angular';
|
||||
import $ from 'jquery';
|
||||
import 'jquery';
|
||||
import { extend } from 'lodash';
|
||||
|
||||
const $win = $(window);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import $ from 'jquery';
|
||||
import 'jquery';
|
||||
import _, { isFunction } from 'lodash'; // eslint-disable-line lodash/import-scope
|
||||
import moment from 'moment'; // eslint-disable-line no-restricted-imports
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import $ from 'jquery';
|
||||
import 'jquery';
|
||||
import { isString, escape } from 'lodash';
|
||||
|
||||
import coreModule from 'app/angular/core_module';
|
||||
|
||||
@@ -8,7 +8,7 @@ import 'vendor/flot/jquery.flot.crosshair';
|
||||
import 'vendor/flot/jquery.flot.dashes';
|
||||
import './jquery.flot.events';
|
||||
|
||||
import $ from 'jquery';
|
||||
import 'jquery';
|
||||
import { clone, find, flatten, isUndefined, map, max as _max, min as _min, sortBy as _sortBy, toNumber } from 'lodash';
|
||||
import { createElement } from 'react';
|
||||
import { createRoot, Root } from 'react-dom/client';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import $ from 'jquery';
|
||||
import 'jquery';
|
||||
|
||||
import {
|
||||
textUtil,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import $ from 'jquery';
|
||||
import 'jquery';
|
||||
import { partition, each } from 'lodash';
|
||||
//@ts-ignore
|
||||
import Drop from 'tether-drop';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import 'vendor/flot/jquery.flot';
|
||||
import $ from 'jquery';
|
||||
import 'jquery';
|
||||
import { isNumber } from 'lodash';
|
||||
|
||||
import { PanelCtrl } from 'app/angular/panel/panel_ctrl';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { IScope, IAngularStatic } from 'angular';
|
||||
import $ from 'jquery';
|
||||
import 'jquery';
|
||||
import { defaults } from 'lodash';
|
||||
|
||||
import { isTableData, PanelEvents, PanelPlugin } from '@grafana/data';
|
||||
|
||||
Reference in New Issue
Block a user