Skip to content

Commit

Permalink
no polyfill.io
Browse files Browse the repository at this point in the history
  • Loading branch information
cscheid committed Jun 26, 2024
1 parent 08d7ada commit 02c2d3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/math.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ MathJax = {
const polyFillEl = document.createElement('script');
polyFillEl.setAttribute(
'src',
'https://polyfill.io/v3/polyfill.min.js?features=es6'
'https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=es6'
);
document.head.appendChild(polyFillEl);

Expand All @@ -115,7 +115,7 @@ MathJax = {
});

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

0 comments on commit 02c2d3a

Please sign in to comment.