Update Contrib to always use https, and repack MathJax.js

This commit is contained in:
Davide P. Cervone 2016-09-01 09:15:46 -04:00
parent bccbbea5ef
commit e1810fe2a9
2 changed files with 2 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -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