0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 19:18:52 +01:00
gitea/web_src/js
wxiaoguang 529bac1950
Polyfill the window.customElements (#23592)
Related: #23590

Reference:
https://github.com/webcomponents/polyfills/tree/master/packages/webcomponentsjs

It seems that there are some users using old browsers, so the
`window.customElements` need polyfill.

The Custom Elements would help a lot for Gitea's UI problems, including:

* `<span class="js-pretty-number">`
* `<time data-format>`

So it's worth get polyfill.

---------

Co-authored-by: delvh <dev.lh@web.de>
2023-03-20 23:17:56 +08:00
..
components Remove stars in dashboard repo list (#23530) 2023-03-17 00:43:58 -04:00
features Fix JS error on compare page (#23551) 2023-03-18 17:08:38 -04:00
markup
modules Fix aria.js bugs: incorrect role element problem, mobile focus problem, tippy problem (#23450) 2023-03-17 11:08:05 +08:00
standalone
test
utils Refactor branch/tag selector to Vue SFC (#23421) 2023-03-14 17:51:20 +08:00
webcomponents Polyfill the window.customElements (#23592) 2023-03-20 23:17:56 +08:00
bootstrap.js
index.js Refactor dashboard repo list to Vue SFC (#23405) 2023-03-14 12:09:06 +08:00
jquery.js
serviceworker.js
svg.js Refactor branch/tag selector to Vue SFC (#23421) 2023-03-14 17:51:20 +08:00
svg.test.js
utils.js
utils.test.js