Skip to content

Commit

Permalink
Delete redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
faisalman committed Apr 7, 2021
1 parent 642c039 commit 535f11b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ua-parser.js
Expand Up @@ -517,9 +517,8 @@
], [MODEL, [VENDOR, 'Meizu'], [TYPE, MOBILE]], [

// MIXED
/(blackberry)[\s-]?(\w+)/i, // BlackBerry
/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,
// BenQ/Palm/Sony-Ericsson/Acer/Asus/Dell/Meizu/Motorola/Polytron
// BlackBerry/BenQ/Palm/Sony-Ericsson/Acer/Asus/Dell/Meizu/Motorola/Polytron
/(hp)\s([\w\s]+\w)/i, // HP iPAQ
/(asus)-?(\w+)/i, // Asus
/(microsoft);\s(lumia[\s\w]+)/i, // Microsoft Lumia
Expand Down

0 comments on commit 535f11b

Please sign in to comment.