Better fix for issue #8

This commit is contained in:
Faisal Salman 2013-01-28 17:06:30 +07:00
parent 59714adea3
commit e0b6ae65e5
2 changed files with 9 additions and 5 deletions

View File

@ -119,9 +119,12 @@
},
device : {
htc : {
sprint : {
model : {
'Evo Shift 4G' : '7373KT'
},
vendor : {
'HTC' : 'APA'
}
}
},
@ -244,8 +247,9 @@
/(nintendo|playstation)\s([wids3portablev]+)/i // Nintendo/Playstation
], [VENDOR, MODEL, [TYPE, CONSOLE]], [
/(sprint\sapa)(\w+)/i
], [[VENDOR, 'HTC'], [MODEL, mapper.string, maps.device.htc.model], [TYPE, MOBILE]], [
/(sprint\s[a-z]+)(\w+)/i // Sprint Phones
], [[VENDOR, mapper.string, maps.device.sprint.vendor], [MODEL, mapper.string, maps.device.sprint.model], [TYPE, MOBILE]], [
/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i, // HTC
/(zte)-(\w+)*/i // ZTE

2
ua-parser.min.js vendored

File diff suppressed because one or more lines are too long