Skip to content

Commit

Permalink
Update Contrib to always use https, and repack MathJax.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dpvc committed Sep 1, 2016
1 parent bccbbea commit e1810fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MathJax.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions unpacked/MathJax.js
Original file line number Diff line number Diff line change
Expand Up @@ -666,8 +666,7 @@ MathJax.cdnFileVersions = {}; // can be used to specify revisions for individua

var PATH = {};
PATH[BASENAME] = ""; // empty path gets the root URL
PATH.Contrib = (String(location.protocol).match(/^https?:/) ? "" : "http:") +
"//cdn.mathjax.org/mathjax/contrib"; // the third-party extensions
PATH.Contrib = "https://cdn.mathjax.org/mathjax/contrib"; // the third-party extensions

BASE.Ajax = {
loaded: {}, // files already loaded
Expand Down

0 comments on commit e1810fe

Please sign in to comment.