mind rc when deriving an integer from version string

This commit is contained in:
Raymond Hill 2018-03-30 09:58:30 -04:00
parent ca0f3a2331
commit 0451758163
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -116,7 +116,7 @@ var onVersionReady = function(lastVersion) {
// see ALL network requests.
// Remove when everybody is beyond 1.15.19b8.
if ( vAPI.firefox === undefined ) {
var match = /^(\d+)\.(\d+)\.(\d+)(?:\D(\d+))?/.exec(lastVersion);
var match = /^(\d+)\.(\d+)\.(\d+)(?:\D+(\d+))?/.exec(lastVersion);
if ( match !== null ) {
var v1 =
parseInt(match[1], 10) * 1000 * 1000 * 1000 +