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

Updated README - extended text for check function.

This commit is contained in:
monnef 2016-09-16 07:10:45 +02:00 committed by GitHub
parent d5daa10f01
commit 691626b700

View File

@ -29,7 +29,7 @@ Use it to get object with detected flags of your current browser.
Use it to get object with detected flags from User Agent string.
### bowser.check(minVersions`:Object`, strictMode`:Boolean`, [ua]`:String`)`:Boolean`
Use it to check if browser supported.
Use it to check if browser is supported. In default non-strict mode any browser family not present in `minVersions` will pass the check (like Chrome in the third call in the sample bellow). When strict mode is enabled then any not specified browser family in `minVersions` will cause `check` to return `false` (in the sample it is the fourth call, the last one).
``` js
/**