chore(frontend): fix more jquery imports
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { IRootScopeService, IAngularEvent, auto } from 'angular';
|
||||
import $ from 'jquery';
|
||||
import 'jquery';
|
||||
import _ from 'lodash'; // eslint-disable-line lodash/import-scope
|
||||
|
||||
import { AppEvent } from '@grafana/data';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import $ from 'jquery';
|
||||
import 'jquery';
|
||||
import { debounce, find, indexOf, map, escape, unescape } from 'lodash';
|
||||
|
||||
import { TemplateSrv } from 'app/features/templating/template_srv';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import $ from 'jquery';
|
||||
import 'jquery';
|
||||
|
||||
import coreModule from './core_module';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import angular from 'angular';
|
||||
import $ from 'jquery';
|
||||
import 'jquery';
|
||||
|
||||
import { getTagColorsFromName } from '@grafana/ui';
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ import * as ticks from 'app/core/utils/ticks';
|
||||
// Help the 6.4 to 6.5 migration
|
||||
// The base classes were moved from @grafana/ui to @grafana/data
|
||||
// This exposes the same classes on both import paths
|
||||
const grafanaUI: Record<string, unknown> = grafanaUIraw;
|
||||
const grafanaUI: System.Module = { ...grafanaUIraw };
|
||||
grafanaUI.PanelPlugin = grafanaData.PanelPlugin;
|
||||
grafanaUI.DataSourcePlugin = grafanaData.DataSourcePlugin;
|
||||
grafanaUI.AppPlugin = grafanaData.AppPlugin;
|
||||
|
||||
Reference in New Issue
Block a user