mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
Add more jsdoc for parsePlatform
This commit is contained in:
parent
4fc00cc427
commit
c3ad15e0ff
@ -173,6 +173,10 @@ class Parser {
|
|||||||
return this.getOS().version;
|
return this.getOS().version;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get parsed platform
|
||||||
|
* @return {{}}
|
||||||
|
*/
|
||||||
getPlatform() {
|
getPlatform() {
|
||||||
if (this.parsedResult.platform) {
|
if (this.parsedResult.platform) {
|
||||||
return this.parsedResult.platform;
|
return this.parsedResult.platform;
|
||||||
@ -181,6 +185,11 @@ class Parser {
|
|||||||
return this._parsePlatform();
|
return this._parsePlatform();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get parsed platform
|
||||||
|
* @return {{}}
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
_parsePlatform() {
|
_parsePlatform() {
|
||||||
this.parsedResult.platform = {};
|
this.parsedResult.platform = {};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user