mirror of
https://github.com/lancedikson/bowser
synced 2026-03-02 03:40:27 +00:00
Catch up with last browsers in 1.9 version
This commit is contained in:
@@ -74,13 +74,17 @@ export default [
|
||||
|
||||
/* WebOS */
|
||||
{
|
||||
test: [/(web|hpw)os/i],
|
||||
test: [/(web|hpw)[o0]s/i],
|
||||
describe(ua) {
|
||||
const version = getFirstMatch(/(?:web|hpw)os\/(\d+(\.\d+)*)/i, ua);
|
||||
return {
|
||||
const version = getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i, ua);
|
||||
const os = {
|
||||
name: 'WebOS',
|
||||
version,
|
||||
};
|
||||
|
||||
if (version && version.length) {
|
||||
os.version = version;
|
||||
}
|
||||
return os;
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user