File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ if (window.MathJax) {window.MathJax = {AuthorConfig: window.MathJax}}
47
47
48
48
MathJax.version = "2.4-beta";
49
49
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
52
52
53
53
/**********************************************************/
54
54
@@ -2973,8 +2973,8 @@ MathJax.Hub.Startup = {
2973
2973
}
2974
2974
}
2975
2975
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/ ");
2978
2978
BASE.Ajax.config.root = CONFIG.root;
2979
2979
break;
2980
2980
}
You can’t perform that action at this time.
0 commit comments