From 8782a29096239c56fa7f259032cab3dec010d378 Mon Sep 17 00:00:00 2001 From: Denis Demchenko Date: Sun, 22 Jul 2018 19:42:46 +0300 Subject: [PATCH] Generate docs --- docs/Bowser.html | 4 +- docs/Parser.html | 155 +++++++++++++++++++++++++++++++++++++++++++- docs/bowser.js.html | 4 +- docs/global.html | 4 +- docs/index.html | 4 +- docs/parser.js.html | 13 +++- docs/utils.js.html | 4 +- 7 files changed, 174 insertions(+), 14 deletions(-) diff --git a/docs/Bowser.html b/docs/Bowser.html index 0fabca9..dffd5cf 100644 --- a/docs/Bowser.html +++ b/docs/Bowser.html @@ -22,7 +22,7 @@
@@ -559,7 +559,7 @@ bowser.getResult()
- Documentation generated by JSDoc 3.5.5 on Sun Jul 22 2018 19:38:05 GMT+0300 (EEST) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Sun Jul 22 2018 19:42:18 GMT+0300 (EEST) using the docdash theme.
diff --git a/docs/Parser.html b/docs/Parser.html index 6ac3630..40bf929 100644 --- a/docs/Parser.html +++ b/docs/Parser.html @@ -22,7 +22,7 @@
@@ -2364,6 +2364,157 @@ Returns undefined when the browser is no described in the checkTree +

some(anythings) → {Boolean}

+ + + + + + +
+ + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+

Check if any of the given values satifies this.is(anything)

+
+ + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
anythings + + +Array.<String> + + + +
+ + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Boolean + + +
+
+ + + + + + + + +

test(regex) → {Boolean}

@@ -2528,7 +2679,7 @@ Returns undefined when the browser is no described in the checkTree
- Documentation generated by JSDoc 3.5.5 on Sun Jul 22 2018 19:38:05 GMT+0300 (EEST) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Sun Jul 22 2018 19:42:18 GMT+0300 (EEST) using the docdash theme.
diff --git a/docs/bowser.js.html b/docs/bowser.js.html index d8021e4..aad1c8f 100644 --- a/docs/bowser.js.html +++ b/docs/bowser.js.html @@ -22,7 +22,7 @@
@@ -96,7 +96,7 @@ export default Bowser;
- Documentation generated by JSDoc 3.5.5 on Sun Jul 22 2018 19:38:04 GMT+0300 (EEST) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Sun Jul 22 2018 19:42:18 GMT+0300 (EEST) using the docdash theme.
diff --git a/docs/global.html b/docs/global.html index 2454d0d..5e2a961 100644 --- a/docs/global.html +++ b/docs/global.html @@ -22,7 +22,7 @@
@@ -758,7 +758,7 @@ like "iPhone" or "Kindle Fire HD 7"
- Documentation generated by JSDoc 3.5.5 on Sun Jul 22 2018 19:38:05 GMT+0300 (EEST) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Sun Jul 22 2018 19:42:18 GMT+0300 (EEST) using the docdash theme.
diff --git a/docs/index.html b/docs/index.html index 9f5fbcd..efeb771 100644 --- a/docs/index.html +++ b/docs/index.html @@ -22,7 +22,7 @@
@@ -144,7 +144,7 @@ check if all tests are still passing.


- Documentation generated by JSDoc 3.5.5 on Sun Jul 22 2018 19:38:05 GMT+0300 (EEST) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Sun Jul 22 2018 19:42:18 GMT+0300 (EEST) using the docdash theme.
diff --git a/docs/parser.js.html b/docs/parser.js.html index ef3ce83..863ee8a 100644 --- a/docs/parser.js.html +++ b/docs/parser.js.html @@ -22,7 +22,7 @@
@@ -466,6 +466,15 @@ class Parser { is(anything) { return this.isBrowser(anything) || this.isOS(anything) || this.isPlatform(anything); } + + /** + * Check if any of the given values satifies this.is(anything) + * @param {String[]} anythings + * @returns {Boolean} + */ + some(anythings = []) { + return anythings.some(anything => this.is(anything)); + } } export default Parser; @@ -481,7 +490,7 @@ export default Parser;
- Documentation generated by JSDoc 3.5.5 on Sun Jul 22 2018 19:38:05 GMT+0300 (EEST) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Sun Jul 22 2018 19:42:18 GMT+0300 (EEST) using the docdash theme.
diff --git a/docs/utils.js.html b/docs/utils.js.html index 03959e1..ac9ba16 100644 --- a/docs/utils.js.html +++ b/docs/utils.js.html @@ -22,7 +22,7 @@
@@ -186,7 +186,7 @@ module.exports = Utils;
- Documentation generated by JSDoc 3.5.5 on Sun Jul 22 2018 19:38:05 GMT+0300 (EEST) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Sun Jul 22 2018 19:42:18 GMT+0300 (EEST) using the docdash theme.