mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
Update README.md
Fixed syntax errors in example
This commit is contained in:
parent
cb85a7fc2f
commit
c1edead81e
@ -120,13 +120,13 @@ const isValidBrowser = browser.satisfies({
|
||||
// or in general
|
||||
chrome: "~20.1.1432",
|
||||
firefox: ">31",
|
||||
opera: ">=22"
|
||||
opera: ">=22",
|
||||
|
||||
// also supports equality operator
|
||||
chrome: "=20.1.1432", // will match particular build only
|
||||
|
||||
// and loose-equality operator
|
||||
chrome: "~20" // will match any 20.* sub-version
|
||||
chrome: "~20", // will match any 20.* sub-version
|
||||
chrome: "~20.1" // will match any 20.1.* sub-version (20.1.19 as well as 20.1.12.42-alpha.1)
|
||||
});
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user