Merge pull request #1591 from dpvc/issue1570
Change 'rev=' to 'V=' in cache breaking code. #1570
This commit is contained in:
commit
37c3bcf878
|
@ -705,9 +705,9 @@ MathJax.cdnFileVersions = {}; // can be used to specify revisions for individua
|
||||||
// Cache-breaking revision number for file
|
// Cache-breaking revision number for file
|
||||||
//
|
//
|
||||||
fileRev: function (file) {
|
fileRev: function (file) {
|
||||||
var rev = BASE.cdnFileVersions[file] || BASE.cdnVersion || '';
|
var V = BASE.cdnFileVersions[file] || BASE.cdnVersion || '';
|
||||||
if (rev) {rev = "?rev="+rev}
|
if (V) {V = "?V="+V}
|
||||||
return rev;
|
return V;
|
||||||
},
|
},
|
||||||
urlRev: function (file) {return this.fileURL(file)+this.fileRev(file)},
|
urlRev: function (file) {return this.fileURL(file)+this.fileRev(file)},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user