commit 2e9b3c7c603c7fe37343add039ce6f9aa24694d2
parent 7c47e032405dd2290d4e4988734480cc68c03aa2
Author: Davide P. Cervone <dpvc@union.edu>
Date: Sun, 1 Jun 2014 10:41:27 -0400
Make this rev=2.4-beta-2, and turn rackspace https into beta.mathjax.org (this will need to be changed to cdn.mathjax.org for the final release).
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/unpacked/MathJax.js b/unpacked/MathJax.js
@@ -47,8 +47,8 @@ if (window.MathJax) {window.MathJax = {AuthorConfig: window.MathJax}}
MathJax.version = "2.4-beta";
MathJax.fileversion = "2.4-beta";
-MathJax.cdnVersion = "2.4-beta"; // specifies a revision to break caching
-MathJax.cdnFileVersions = {}; // can be used to specify revisions for individual files
+MathJax.cdnVersion = "2.4-beta-2"; // specifies a revision to break caching
+MathJax.cdnFileVersions = {}; // can be used to specify revisions for individual files
/**********************************************************/
@@ -2973,8 +2973,8 @@ MathJax.Hub.Startup = {
}
}
CONFIG.root = scripts[i].src.replace(/(^|\/)[^\/]*(\?.*)?$/,'')
- .replace(/^(https?:\/\/(cdn.mathjax.org|[0-9a-f]+(-[0-9a-f]+)?.ssl.cf1.rackcdn.com)\/mathjax\/)(latest)/,
- "$1"+BASE.version+"-$4");
+ // 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/");
BASE.Ajax.config.root = CONFIG.root;
break;
}