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
closes #238
This commit is contained in:
Patrick 2018-07-31 07:59:28 +02:00 committed by Denis Demchenko
parent b7acaf32f5
commit af26b08642

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: {