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

Fixes docs

fixes #320
This commit is contained in:
Denis Demchenko 2019-05-03 21:40:55 +03:00
parent 2ed80a5074
commit 86152dac82

View File

@ -342,7 +342,7 @@ class Parser {
* Returns `undefined` when the browser is no described in the checkTree object.
*
* @example
* const browser = new Bowser(UA);
* const browser = Bowser.getParser(window.navigator.userAgent);
* if (browser.satisfies({chrome: '>118.01.1322' }))
* // or with os
* if (browser.satisfies({windows: { chrome: '>118.01.1322' } }))