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