1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

Trying to get version number to validate.

This commit is contained in:
Ivan Carosati 2015-12-07 16:12:18 -05:00
parent 87935f0e2d
commit 14f16d6120

View File

@ -92,7 +92,7 @@
result = {
name: 'Vivaldi'
, vivaldi: t
, version: versionIdentifier
, version: versionIdentifier || getFirstMatch(/vivaldi[\d]+\/(\d+(\.\d+)?)/i)
}
}
else if (/chrome|crios|crmo/i.test(ua)) {