From 61b368d3bff958c5669733734270f8a083608def Mon Sep 17 00:00:00 2001 From: Denis Demchenko Date: Mon, 31 Oct 2016 11:12:12 +0200 Subject: [PATCH] Fix `bowser.check` specification (a string instead of a number) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c35ac70..6492df3 100644 --- a/README.md +++ b/README.md @@ -41,12 +41,12 @@ bowser.check({msie: "9.0"}); // false /** * specific user agent */ -bowser.check({chrome: 45}, window.navigator.userAgent); // true +bowser.check({chrome: "45"}, window.navigator.userAgent); // true /** * but false in strict mode */ -bowser.check({chrome: 45}, true, window.navigator.userAgent); // false +bowser.check({chrome: "45"}, true, window.navigator.userAgent); // false ``` ### bowser.compareVersions(versions`:Array`)`:Number`