Merge pull request #1591 from dpvc/issue1570

Change 'rev=' to 'V=' in cache breaking code.  #1570
This commit is contained in:
Davide P. Cervone 2016-08-24 09:46:07 -04:00 committed by GitHub
commit 37c3bcf878

View File

@ -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)},