mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2026-01-01 11:55:42 +03:00
Fix #219 samsung mistakenly detected as sony
This commit is contained in:
@@ -532,8 +532,8 @@
|
||||
/(sony)\s(tablet\s[ps])\sbuild\//i, // Sony
|
||||
/(sony)?(?:sgp.+)\sbuild\//i
|
||||
], [[VENDOR, 'Sony'], [MODEL, 'Xperia Tablet'], [TYPE, TABLET]], [
|
||||
/(?:sony)?(?:(?:(?:c|d)\d{4})|(?:so[-l].+))\sbuild\//i
|
||||
], [[VENDOR, 'Sony'], [MODEL, 'Xperia Phone'], [TYPE, MOBILE]], [
|
||||
/android.+\s([cdefg]\d{4}|so[-l]\w+)\sbuild\//i
|
||||
], [MODEL, [VENDOR, 'Sony'], [TYPE, MOBILE]], [
|
||||
|
||||
/\s(ouya)\s/i, // Ouya
|
||||
/(nintendo)\s([wids3u]+)/i // Nintendo
|
||||
|
||||
Reference in New Issue
Block a user