chore: always use dynamic polyfill
for browsers
This commit is contained in:
parent
2bc3172444
commit
0e2d593b00
4 changed files with 2 additions and 8 deletions
|
@ -42,8 +42,5 @@ lazy-polyfill:
|
||||||
clipboard:
|
clipboard:
|
||||||
js: /assets/lib/clipboard/clipboard.min.js
|
js: /assets/lib/clipboard/clipboard.min.js
|
||||||
|
|
||||||
polyfill:
|
|
||||||
js: /assets/lib/polyfill-v3-es6/polyfill.min.js
|
|
||||||
|
|
||||||
mathjax:
|
mathjax:
|
||||||
js: /assets/lib/mathjax/tex-chtml.js
|
js: /assets/lib/mathjax/tex-chtml.js
|
||||||
|
|
|
@ -53,8 +53,5 @@ lazy-polyfill:
|
||||||
clipboard:
|
clipboard:
|
||||||
js: https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js
|
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:
|
mathjax:
|
||||||
js: https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js
|
js: https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</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>
|
<script id="MathJax-script" async src="{{ site.data.origin[type].mathjax.js | relative_url }}"></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit f80ba2f1616496cba34f3fd3eef1564d8fa843cd
|
Subproject commit 13e6909cc40e1b09f33fab420d743dfa709e86bb
|
Loading…
Reference in a new issue