mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
fix typo in the README
chome → chrome
This commit is contained in:
parent
9d5a3faf48
commit
ab028b2529
@ -41,12 +41,12 @@ browser.check({msie: "9.0"}); // false
|
|||||||
/**
|
/**
|
||||||
* specific user agent
|
* specific user agent
|
||||||
*/
|
*/
|
||||||
browser.check({chome: 45}, window.navigator.userAgent); // true
|
browser.check({chrome: 45}, window.navigator.userAgent); // true
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* but false in strict mode
|
* but false in strict mode
|
||||||
*/
|
*/
|
||||||
browser.check({chome: 45}, true, window.navigator.userAgent); // false
|
browser.check({chrome: 45}, true, window.navigator.userAgent); // false
|
||||||
```
|
```
|
||||||
|
|
||||||
### bowser.compareVersions(versions`:Array<String>`)`:Number`
|
### bowser.compareVersions(versions`:Array<String>`)`:Number`
|
||||||
|
Loading…
Reference in New Issue
Block a user