Replies: 1 comment
-
Thanks for bringing up this issue, this has been resolved in: #718 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
While reading the 2.0.0-beta documentation here:
https://docs.uaparser.js.org/v2/api/submodules/extensions/overview.html
I learned that the required way of combining multiple Extensions is like this:
it would be so much intuitive and simple to use if the library supports simply this:
as an example of how ugly it can get...
I wanted to implement the parsing of all possible known user agents and my code ended up like this:
when it could have been as intuitive and simple as this:
Beta Was this translation helpful? Give feedback.
All reactions