mirror of
https://github.com/lancedikson/bowser
synced 2025-12-04 21:52:14 +00:00
lint
This commit is contained in:
parent
a7d7d4b7d3
commit
9a18fb86bb
@ -104,7 +104,7 @@ const browsersList = [
|
|||||||
name: 'Omgilibot',
|
name: 'Omgilibot',
|
||||||
};
|
};
|
||||||
const version = Utils.getFirstMatch(/(?:omgilibot|webzio-extended)\/(\d+(\.\d+)+)/i, ua) || Utils.getFirstMatch(commonVersionIdentifier, ua);
|
const version = Utils.getFirstMatch(/(?:omgilibot|webzio-extended)\/(\d+(\.\d+)+)/i, ua) || Utils.getFirstMatch(commonVersionIdentifier, ua);
|
||||||
|
|
||||||
if (version) {
|
if (version) {
|
||||||
browser.version = version;
|
browser.version = version;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user