Skip to content

Commit

Permalink
Upgrade MathJax to 3.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
leimao committed Dec 30, 2023
1 parent 92c694d commit fd9eee0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/hexo/helper/cdn.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('Get JavaScript library URL', () => {
() => cdn('moment', '2.24.0', 'min/moment.min.js'),
() => cdn('outdatedbrowser', '1.1.5', 'outdatedbrowser/outdatedbrowser.min.js'),
() => cdn('highlight.js', '9.18.1', 'styles/a11y-dark.css'),
() => cdn('mathjax', '3.2.2', 'es5/tex-mml-chtml.min.js'),
() => cdn('mathjax', '3.2.2', 'es5/tex-mml-chtml.js'),
() => cdn('pace-js', '1.0.2', 'pace.min.js'),
() => cdn('katex', '0.11.1', 'dist/katex.min.js'),
() => cdn('clipboard', '2.0.6', 'dist/clipboard.min.js'),
Expand All @@ -41,7 +41,7 @@ describe('Get JavaScript library URL', () => {
'https://cdn.jsdelivr.net/npm/moment@2.24.0/min/moment.min.js',
'https://cdn.jsdelivr.net/npm/outdatedbrowser@1.1.5/outdatedbrowser/outdatedbrowser.min.js',
'https://cdn.jsdelivr.net/npm/highlight.js@9.18.1/styles/a11y-dark.css',
'https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-mml-chtml.min.js',
'https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-mml-chtml.js',
'https://cdn.jsdelivr.net/npm/pace-js@1.0.2/pace.min.js',
'https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js',
'https://cdn.jsdelivr.net/npm/clipboard@2.0.6/dist/clipboard.min.js',
Expand Down
2 changes: 1 addition & 1 deletion src/view/plugin/mathjax.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Mathjax.Cacheable = cacheComponent(Mathjax, 'plugin.mathjax', (props) => {
return null;
}
return {
jsUrl: helper.cdn('mathjax', '3.2.2', 'es5/tex-mml-chtml.min.js'),
jsUrl: helper.cdn('mathjax', '3.2.2', 'es5/tex-mml-chtml.js'),
};
});

Expand Down

0 comments on commit fd9eee0

Please sign in to comment.