Closed dvv closed 13 years ago
Looks good to me, but wouldn't we want android, and iOS ( instead of ipad ) detection aswel?
Sure. Wouldn't you validate OS detection?
Sure, it would be nice to have. Anyways I'll merge and update the repo tonight with your changes. We can always add iOS, android etc based detections later.
Thanks! You might also want to update .pretty() to honor OS printing; I haven't snooped in it to not break tests
I did some small changes to the code, so it can re-use the parser function for the user agents. This way we don't need to create new functionality to parse operating systems and printing of the values.
This also makes it easier to do operation system based parsing.
Please, consider pulling
TIA, --Vladimir