1
0
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:
Denis Demchenko 2016-08-30 00:00:14 +03:00
parent 9d5a3faf48
commit ab028b2529

View File

@ -41,12 +41,12 @@ browser.check({msie: "9.0"}); // false
/**
* specific user agent
*/
browser.check({chome: 45}, window.navigator.userAgent); // true
browser.check({chrome: 45}, window.navigator.userAgent); // true
/**
* 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`