Change 'rev=' to 'V=' in cache braking code (in hopes that doesn't conflict with anyone's server usage). Resolves issue #1570.

This commit is contained in:
Davide P. Cervone 2016-08-21 09:41:58 -04:00
parent 4a9bee1f2f
commit 9a0bc1b20a

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