1
0
mirror of https://github.com/lancedikson/bowser synced 2026-03-02 03:40:27 +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

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