arielsalminen / feature.js

Feature.js is a fast, simple and lightweight browser feature detection library in 1kb.
https://featurejs.com/
3.17k stars 115 forks source link

"Android" is always capital "A" #20

Closed Paul-Browne closed 5 years ago

Paul-Browne commented 8 years ago

In the "old android" test the string "Android" might be "android" -can't recall which devices this occurred on, but a simple (A|a)ndroid should check for both. Great work btw👍

Paul-Browne commented 8 years ago

Title should be "Android" isn't always capital "A"

ShirtlessKirk commented 8 years ago

The regex uses the case insensitive operator...

meowsus commented 5 years ago

Seems like @ShirtlessKirk is right, the test uses the insensitive operator. If you run into this again feel free to resubmit or reopen this issue!