mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 16:08:47 +03:00
Merge pull request #79 from hmvs/patch-3
Moto X, G, Razr Mobile detection
This commit is contained in:
commit
d5cf025713
@ -514,7 +514,8 @@
|
||||
|
||||
// Motorola
|
||||
/\s((milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?(:?\s4g)?))[\w\s]+build\//i,
|
||||
/(mot)[\s-]?(\w+)*/i
|
||||
/(mot)[\s-]?(\w+)*/i,
|
||||
/XT\d{3,4} build\//i
|
||||
], [[VENDOR, 'Motorola'], MODEL, [TYPE, MOBILE]], [
|
||||
/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i
|
||||
], [MODEL, [VENDOR, 'Motorola'], [TYPE, TABLET]], [
|
||||
|
Loading…
x
Reference in New Issue
Block a user