Skip to content

Commit 37c3bcf

Browse files
authored
Merge pull request #1591 from dpvc/issue1570
Change 'rev=' to 'V=' in cache breaking code. #1570
2 parents 62e8298 + 9a0bc1b commit 37c3bcf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

unpacked/MathJax.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -705,9 +705,9 @@ MathJax.cdnFileVersions = {}; // can be used to specify revisions for individua
705705
// Cache-breaking revision number for file
706706
//
707707
fileRev: function (file) {
708-
var rev = BASE.cdnFileVersions[file] || BASE.cdnVersion || '';
709-
if (rev) {rev = "?rev="+rev}
710-
return rev;
708+
var V = BASE.cdnFileVersions[file] || BASE.cdnVersion || '';
709+
if (V) {V = "?V="+V}
710+
return V;
711711
},
712712
urlRev: function (file) {return this.fileURL(file)+this.fileRev(file)},
713713

0 commit comments

Comments
 (0)