mirror of
1
Fork 0
forgejo/web_src/js
silverwind 97aa749578
Vendor `jquery.are-you-sure` with strict mode fixes (#26901)
Extract from https://github.com/go-gitea/gitea/pull/25940 and because
https://github.com/go-gitea/gitea/pull/26743 does seem to need more
work.

This will be required if we are to run our JS in [strict
mode](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode).

Previously, the two variables `$fields` and `$dirtyForms` polluted
`window`:

<img width="1145" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/e0270a0e-b881-4ed7-9cc4-e9ab25c0a2bc">
2023-09-06 00:02:44 +00:00
..
components Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
features Vendor `jquery.are-you-sure` with strict mode fixes (#26901) 2023-09-06 00:02:44 +00:00
markup Fix task list checkbox toggle to work with YAML front matter (#25184) 2023-06-13 14:44:47 +08:00
modules Refactor toast module (#26677) 2023-08-23 07:25:13 +00:00
render Update JS dependencies (#26586) 2023-08-19 10:18:39 +02:00
standalone Add toasts to UI (#25449) 2023-06-27 02:45:24 +00:00
test rename tributeValues to mentionValues (#25375) 2023-06-20 03:32:49 +00:00
utils Avoiding accessing undefined mentionValues (#26461) 2023-08-12 08:36:23 +00:00
vendor Vendor `jquery.are-you-sure` with strict mode fixes (#26901) 2023-09-06 00:02:44 +00:00
webcomponents Add minimum polyfill to support "relative-time-element" in PaleMoon (#26575) 2023-08-18 17:27:11 +08:00
bootstrap.js Remove joinPaths function (#26833) 2023-08-31 02:46:44 +00:00
index.js Show branches and tags that contain a commit (#25180) 2023-07-27 12:47:41 +02:00
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 2020-04-18 18:46:29 -04:00
svg.js Add commits dropdown in PR files view and allow commit by commit review (#25528) 2023-07-28 21:18:12 +02:00
svg.test.js Improve `<SvgIcon>` to make it output `svg` node and optimize performance (#23570) 2023-03-23 11:24:16 +08:00
utils.js Remove joinPaths function (#26833) 2023-08-31 02:46:44 +00:00
utils.test.js Remove joinPaths function (#26833) 2023-08-31 02:46:44 +00:00