Switch beta.mathjax.org to cdn.mathjax.org (since https users will never get this beta MathJax.js anyway).

This commit is contained in:
Davide P. Cervone 2014-06-01 11:37:08 -04:00
parent b29833de63
commit 6ab067a14c
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -2974,7 +2974,7 @@ MathJax.Hub.Startup = {
} }
CONFIG.root = scripts[i].src.replace(/(^|\/)[^\/]*(\?.*)?$/,'') CONFIG.root = scripts[i].src.replace(/(^|\/)[^\/]*(\?.*)?$/,'')
// convert rackspace to cdn.mathjax.org now that it supports https protocol // convert rackspace to cdn.mathjax.org now that it supports https protocol
.replace(/^(https?:)\/\/[0-9a-f]+(-[0-9a-f]+)?.ssl.cf1.rackcdn.com\//,"$1//beta.mathjax.org/"); .replace(/^(https?:)\/\/[0-9a-f]+(-[0-9a-f]+)?.ssl.cf1.rackcdn.com\//,"$1//cdn.mathjax.org/");
BASE.Ajax.config.root = CONFIG.root; BASE.Ajax.config.root = CONFIG.root;
break; break;
} }