diff options
author | silverwind <me@silverwind.io> | 2022-01-28 13:00:11 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-28 21:00:11 +0000 |
commit | 19b017f3986655468d72b383141256f11d58c186 (patch) | |
tree | 3d9856a8515936f704f4be2dc008365092dbef7e /web_src/js/features/repo-issue.js | |
parent | 7b04c97b7b0fd96676c94e02a857a43a6ef32b3d (diff) | |
download | gitea-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/features/repo-issue.js')
-rw-r--r-- | web_src/js/features/repo-issue.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web_src/js/features/repo-issue.js b/web_src/js/features/repo-issue.js index 0523c3fb01..7a62cf2701 100644 --- a/web_src/js/features/repo-issue.js +++ b/web_src/js/features/repo-issue.js @@ -1,3 +1,4 @@ +import $ from 'jquery'; import {htmlEscape} from 'escape-goat'; import attachTribute from './tribute.js'; import {createCommentEasyMDE, getAttachedEasyMDE} from './comp/EasyMDE.js'; |