|
|
@ -16,7 +16,7 @@ import Parser from './parser';
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
class Bowser {
|
|
|
|
class Bowser {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Creates an object that parse UA
|
|
|
|
* Creates an object that parses UA
|
|
|
|
* @param UA
|
|
|
|
* @param UA
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @example
|
|
|
|
* @example
|
|
|
@ -31,7 +31,7 @@ class Bowser {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static parse(UA) {
|
|
|
|
static parse(UA) {
|
|
|
|
return new this.constructor(UA).getResult();
|
|
|
|
return (new this.constructor(UA)).getResult();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|