1
0
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:
Denis Demchenko 2018-08-02 21:24:08 +03:00
parent af26b08642
commit 2b6a63d088

View File

@ -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');
}