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

Vivaldi version number is now parsed correctly.

This commit is contained in:
Ivan Carosati 2015-12-07 16:17:10 -05:00
parent b01795c475
commit b98e37c6ac

View File

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