chore(frontend): fix more jquery imports

This commit is contained in:
Jack Westbrook
2025-03-03 09:05:29 +01:00
parent e7c65e61b8
commit 8daeb1b8e3
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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 -1
View File
@@ -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 -1
View File
@@ -1,4 +1,4 @@
import $ from 'jquery';
import 'jquery';
import coreModule from './core_module';
+1 -1
View File
@@ -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;