1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

Fix getParsers in README.md

getParsers is not a function it is called getParser instead
This commit is contained in:
Patrick 2018-07-31 07:59:28 +02:00 committed by GitHub
parent 4e6aa12a79
commit a68a4a2072
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,7 @@ You could want to filter some particular browsers to provide any special support
It could look like this: It could look like this:
```javascript ```javascript
const browser = bowser.getParsers(window.navigator.userAgent); const browser = bowser.getParser(window.navigator.userAgent);
const isValidBrowser = browser.satisfies({ const isValidBrowser = browser.satisfies({
// declare browsers per OS // declare browsers per OS
windows: { windows: {