Skip to content

Commit

Permalink
Use MathJax from cloudflare instead of cdn.mathjax
Browse files Browse the repository at this point in the history
Summary:
Reference : https://www.mathjax.org/cdn-shutting-down/
Closes fossasia#349

Differential Revision: D7975918

Pulled By: JackUrb

fbshipit-source-id: 4e9ae00aabf34679165887c6880c238966feb842
  • Loading branch information
spMohanty authored and facebook-github-bot committed May 11, 2018
1 parent 6080e53 commit aeddca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/visdom/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ def download_scripts(proxies=None, install_dir=None):
'%[email protected]/umd/react.production.min.js' % b: 'react-react.min.js',
'%[email protected]/umd/react-dom.production.min.js' % b: 'react-dom.min.js', # noqa
'%[email protected]/dist/react-modal.min.js' % b: 'react-modal.min.js', # noqa
'https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_SVG': # noqa
'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_SVG': # noqa
'mathjax-MathJax.js',
# here is another url in case the cdn breaks down again.
# https://raw.githubusercontent.com/plotly/plotly.js/master/dist/plotly.min.js
Expand Down

0 comments on commit aeddca9

Please sign in to comment.