From 19b017f3986655468d72b383141256f11d58c186 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 28 Jan 2022 13:00:11 -0800 Subject: 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 --- web_src/js/features/repo-common.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'web_src/js/features/repo-common.js') diff --git a/web_src/js/features/repo-common.js b/web_src/js/features/repo-common.js index 3ddabe10f1..9479fa78e4 100644 --- a/web_src/js/features/repo-common.js +++ b/web_src/js/features/repo-common.js @@ -1,3 +1,5 @@ +import $ from 'jquery'; + const {csrfToken} = window.config; function getArchive($target, url, first) { -- cgit v1.2.3