chore: always use dynamic polyfill for browsers

This commit is contained in:
Cotes Chung 2023-10-04 19:01:48 +08:00
parent 2bc3172444
commit 0e2d593b00
No known key found for this signature in database
GPG key ID: 0D9E54843167A808
4 changed files with 2 additions and 8 deletions

View file

@ -42,8 +42,5 @@ lazy-polyfill:
clipboard:
js: /assets/lib/clipboard/clipboard.min.js
polyfill:
js: /assets/lib/polyfill-v3-es6/polyfill.min.js
mathjax:
js: /assets/lib/mathjax/tex-chtml.js

View file

@ -53,8 +53,5 @@ lazy-polyfill:
clipboard:
js: https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js
polyfill:
js: https://polyfill.io/v3/polyfill.min.js?features=es6
mathjax:
js: https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js

View file

@ -87,7 +87,7 @@
}
};
</script>
<script src="{{ site.data.origin[type].polyfill.js | relative_url }}"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="{{ site.data.origin[type].mathjax.js | relative_url }}"></script>
{% endif %}

@ -1 +1 @@
Subproject commit f80ba2f1616496cba34f3fd3eef1564d8fa843cd
Subproject commit 13e6909cc40e1b09f33fab420d743dfa709e86bb