forgejo/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
features
markup
modules
standalone
test
utils
webcomponents Polyfill the window.customElements (#23592) 2023-03-20 23:17:56 +08:00
bootstrap.js
index.js
jquery.js
serviceworker.js
svg.js
svg.test.js
utils.js
utils.test.js