mirror of
https://github.com/go-gitea/gitea.git
synced 2026-04-21 18:24:58 +08:00
Close #35059 Slightly improved the "fetch action" framework and started adding tests for it. --------- Signed-off-by: silverwind <me@silverwind.io> Co-authored-by: silverwind <me@silverwind.io>
6 lines
291 B
TypeScript
6 lines
291 B
TypeScript
import jquery from 'jquery'; // eslint-disable-line no-restricted-imports
|
|
|
|
// Some users still use inline scripts and expect jQuery to be available globally.
|
|
// To avoid breaking existing users and custom plugins, import jQuery globally without ES module.
|
|
window.$ = window.jQuery = jquery;
|