mirror of
https://github.com/lancedikson/bowser
synced 2026-03-02 03:40:27 +00:00
Fix linting issue - split long comment line
Co-authored-by: naorpeled <6171622+naorpeled@users.noreply.github.com>
This commit is contained in:
@@ -11,7 +11,8 @@ export default [
|
|||||||
return parser.getBrowserName(true) === 'microsoft edge';
|
return parser.getBrowserName(true) === 'microsoft edge';
|
||||||
},
|
},
|
||||||
describe(ua) {
|
describe(ua) {
|
||||||
// Check if it's a Chromium-based Edge (desktop with " Edg/", Android with "EdgA/", or iOS with "EdgiOS/")
|
// Check if it's a Chromium-based Edge
|
||||||
|
// (desktop with " Edg/", Android with "EdgA/", or iOS with "EdgiOS/")
|
||||||
const isBlinkBased = /\sedg\//i.test(ua) || /edg(a|ios)\//i.test(ua);
|
const isBlinkBased = /\sedg\//i.test(ua) || /edg(a|ios)\//i.test(ua);
|
||||||
|
|
||||||
// return blink if it's blink-based one
|
// return blink if it's blink-based one
|
||||||
|
|||||||
Reference in New Issue
Block a user