Skip to content

Commit 2e9b3c7

Browse files
committed
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).
1 parent 7c47e03 commit 2e9b3c7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

unpacked/MathJax.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ if (window.MathJax) {window.MathJax = {AuthorConfig: window.MathJax}}
4747

4848
MathJax.version = "2.4-beta";
4949
MathJax.fileversion = "2.4-beta";
50-
MathJax.cdnVersion = "2.4-beta"; // specifies a revision to break caching
51-
MathJax.cdnFileVersions = {}; // can be used to specify revisions for individual files
50+
MathJax.cdnVersion = "2.4-beta-2"; // specifies a revision to break caching
51+
MathJax.cdnFileVersions = {}; // can be used to specify revisions for individual files
5252

5353
/**********************************************************/
5454

@@ -2973,8 +2973,8 @@ MathJax.Hub.Startup = {
29732973
}
29742974
}
29752975
CONFIG.root = scripts[i].src.replace(/(^|\/)[^\/]*(\?.*)?$/,'')
2976-
.replace(/^(https?:\/\/(cdn.mathjax.org|[0-9a-f]+(-[0-9a-f]+)?.ssl.cf1.rackcdn.com)\/mathjax\/)(latest)/,
2977-
"$1"+BASE.version+"-$4");
2976+
// convert rackspace to cdn.mathjax.org now that it supports https protocol
2977+
.replace(/^(https?:)\/\/[0-9a-f]+(-[0-9a-f]+)?.ssl.cf1.rackcdn.com\//,"$1//beta.mathjax.org/");
29782978
BASE.Ajax.config.root = CONFIG.root;
29792979
break;
29802980
}

0 commit comments

Comments
 (0)