Skip to content

Commit

Permalink
Remove redundant rule for OnePlus
Browse files Browse the repository at this point in the history
  • Loading branch information
faisalman committed Dec 14, 2019
1 parent 9da7fd4 commit d260bcc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ua-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -593,8 +593,7 @@
], [[VENDOR, 'Meizu'], MODEL, [TYPE, MOBILE]], [

/android.+a000(1)\s+build/i, // OnePlus
/android.+oneplus\s(a\d{4})\s+build/i,
/android.+oneplus\s(a\d{4})/i
/android.+oneplus\s(a\d{4})[\s)]/i
], [MODEL, [VENDOR, 'OnePlus'], [TYPE, MOBILE]], [

/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i // RCA Tablets
Expand Down

0 comments on commit d260bcc

Please sign in to comment.