mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
commit
d9b7373f3e
@ -120,13 +120,13 @@ const isValidBrowser = browser.satisfies({
|
|||||||
// or in general
|
// or in general
|
||||||
chrome: "~20.1.1432",
|
chrome: "~20.1.1432",
|
||||||
firefox: ">31",
|
firefox: ">31",
|
||||||
opera: ">=22"
|
opera: ">=22",
|
||||||
|
|
||||||
// also supports equality operator
|
// also supports equality operator
|
||||||
chrome: "=20.1.1432", // will match particular build only
|
chrome: "=20.1.1432", // will match particular build only
|
||||||
|
|
||||||
// and loose-equality operator
|
// 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)
|
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