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:
parent
d5daa10f01
commit
691626b700
@ -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
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user