Skip to content

Commit 02c2d3a

Browse files
committed
no polyfill.io
1 parent 08d7ada commit 02c2d3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/providers/math.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ MathJax = {
9595
const polyFillEl = document.createElement('script');
9696
polyFillEl.setAttribute(
9797
'src',
98-
'https://polyfill.io/v3/polyfill.min.js?features=es6'
98+
'https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=es6'
9999
);
100100
document.head.appendChild(polyFillEl);
101101

@@ -115,7 +115,7 @@ MathJax = {
115115
});
116116

117117
/*
118-
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
118+
<script src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=es6"></script>
119119
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
120120
121121
*/

0 commit comments

Comments
 (0)