1
0
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:
NetPanther 2019-07-17 17:18:17 +02:00 committed by GitHub
parent cb85a7fc2f
commit c1edead81e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
});
```