mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 07:58:45 +03:00
Workaround for issue #8
This commit is contained in:
parent
a6610646ca
commit
b99546072d
15
ua-parser.js
15
ua-parser.js
@ -120,6 +120,16 @@
|
||||
}
|
||||
},
|
||||
|
||||
device : {
|
||||
|
||||
htc : {
|
||||
|
||||
model : {
|
||||
'Evo Shift 4G' : '7373KT'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
os : {
|
||||
|
||||
windows : {
|
||||
@ -239,8 +249,11 @@
|
||||
|
||||
/(nintendo|playstation)\s([wids3portablev]+)/i // Nintendo/Playstation
|
||||
], [VENDOR, MODEL, [TYPE, CONSOLE]], [
|
||||
|
||||
|
||||
/(sprint\sapa)(\w+)/i
|
||||
], [[VENDOR, 'HTC'], [MODEL, maps.device.htc.model], [TYPE, MOBILE]], [
|
||||
/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i, // HTC
|
||||
|
||||
/(zte)-(\w+)*/i // ZTE
|
||||
], [VENDOR, [MODEL, /_/g, ' '], [TYPE, MOBILE]], [
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user