From c3ad15e0ff734d252a77b27d58dcad4853562b9e Mon Sep 17 00:00:00 2001 From: Denis Demchenko Date: Fri, 9 Jun 2017 22:15:19 +0300 Subject: [PATCH] Add more jsdoc for parsePlatform --- src/parser.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/parser.js b/src/parser.js index bef6ed1..7da181d 100644 --- a/src/parser.js +++ b/src/parser.js @@ -173,6 +173,10 @@ class Parser { return this.getOS().version; } + /** + * Get parsed platform + * @return {{}} + */ getPlatform() { if (this.parsedResult.platform) { return this.parsedResult.platform; @@ -181,6 +185,11 @@ class Parser { return this._parsePlatform(); } + /** + * Get parsed platform + * @return {{}} + * @private + */ _parsePlatform() { this.parsedResult.platform = {};