mirror of
https://github.com/lancedikson/bowser
synced 2026-03-02 03:40:27 +00:00
Fix code style problem
This commit is contained in:
@@ -26,7 +26,7 @@ class Bowser {
|
|||||||
* const bowser = new Bowser(window.navigator.userAgent);
|
* const bowser = new Bowser(window.navigator.userAgent);
|
||||||
* bowser.getResult()
|
* bowser.getResult()
|
||||||
*/
|
*/
|
||||||
static getParser(UA, skipParsing=false) {
|
static getParser(UA, skipParsing = false) {
|
||||||
if (typeof UA !== 'string') {
|
if (typeof UA !== 'string') {
|
||||||
throw new Error('UserAgent should be a string');
|
throw new Error('UserAgent should be a string');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user