aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/index.js
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-01-28 13:00:11 -0800
committerGitHub <noreply@github.com>2022-01-28 21:00:11 +0000
commit19b017f3986655468d72b383141256f11d58c186 (patch)
tree3d9856a8515936f704f4be2dc008365092dbef7e /web_src/js/index.js
parent7b04c97b7b0fd96676c94e02a857a43a6ef32b3d (diff)
downloadgitea-19b017f3986655468d72b383141256f11d58c186.tar.gz
gitea-19b017f3986655468d72b383141256f11d58c186.zip
Use explicit jQuery import, remove unused eslint globals (#18435)
- Don't rely on globals (window.$) for jQuery import - Remove eslint globals no longer in use
Diffstat (limited to 'web_src/js/index.js')
-rw-r--r--web_src/js/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js
index 8ea30f1fca..c9a7949d5a 100644
--- a/web_src/js/index.js
+++ b/web_src/js/index.js
@@ -1,5 +1,6 @@
import './publicpath.js';
+import $ from 'jquery';
import {initVueEnv} from './components/VueComponentLoader.js';
import {initRepoActivityTopAuthorsChart} from './components/RepoActivityTopAuthors.vue';
import {initDashboardRepoList} from './components/DashboardRepoList.js';