commit d494748ded4eae956fd0b88d780bee6e20cded94 parent 2927bbfc3453a5edd3eeeb94af3d6ad4aee7f5a4 Author: Davide P. Cervone <dpvc@union.edu> Date: Sun, 16 Feb 2014 05:16:53 -0500 Changed regular expresion to account for new (longer) Rackspace address. Resolves issue #709. Diffstat:
| M | unpacked/MathJax.js | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/unpacked/MathJax.js b/unpacked/MathJax.js @@ -2941,8 +2941,8 @@ MathJax.Hub.Startup = { } } CONFIG.root = scripts[i].src.replace(/(^|\/)[^\/]*(\?.*)?$/,'') - .replace(/^(https?:\/\/(cdn.mathjax.org|c328740.ssl.cf1.rackcdn.com)\/mathjax\/)(latest)/, - "$1"+BASE.version+"-$3"); + .replace(/^(https?:\/\/(cdn.mathjax.org|[0-9a-f]+(-[0-9a-f]+)?.ssl.cf1.rackcdn.com)\/mathjax\/)(latest)/, + "$1"+BASE.version+"-$4"); break; } }