Merge branch 'issue709' into develop. Issue #709.

This commit is contained in:
Davide P. Cervone 2014-02-17 11:25:41 -05:00
commit 9220eae8c0

View File

@ -2941,8 +2941,8 @@ MathJax.Hub.Startup = {
} }
} }
CONFIG.root = scripts[i].src.replace(/(^|\/)[^\/]*(\?.*)?$/,'') CONFIG.root = scripts[i].src.replace(/(^|\/)[^\/]*(\?.*)?$/,'')
.replace(/^(https?:\/\/(cdn.mathjax.org|c328740.ssl.cf1.rackcdn.com)\/mathjax\/)(latest)/, .replace(/^(https?:\/\/(cdn.mathjax.org|[0-9a-f]+(-[0-9a-f]+)?.ssl.cf1.rackcdn.com)\/mathjax\/)(latest)/,
"$1"+BASE.version+"-$3"); "$1"+BASE.version+"-$4");
break; break;
} }
} }