mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-02 09:09:38 +02:00
mind rc
when deriving an integer from version string
This commit is contained in:
parent
ca0f3a2331
commit
0451758163
@ -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 +
|
||||
|
Loading…
Reference in New Issue
Block a user