Merge branch 'v2.3-latest'

This commit is contained in:
Davide P. Cervone 2013-11-17 08:05:11 -05:00
commit ff5a6de764
2 changed files with 5 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -2943,7 +2943,9 @@ MathJax.Hub.Startup = {
if (KV) {STARTUP.params[unescape(KV[1])] = unescape(KV[2])}
}
}
CONFIG.root = scripts[i].src.replace(/(^|\/)[^\/]*(\?.*)?$/,'');
CONFIG.root = scripts[i].src.replace(/(^|\/)[^\/]*(\?.*)?$/,'')
.replace(/^(https?:\/\/(cdn.mathjax.org|c328740.ssl.cf1.rackcdn.com)\/mathjax\/)(latest)/,
"$1"+BASE.version+"-$3");
break;
}
}