Skip to content

Commit

Permalink
Improve Microsoft Edge detection
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimyr committed Sep 16, 2018
1 parent 01eab85 commit bf79eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ua-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@
/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i // IE11
], [[NAME, 'IE'], VERSION], [

/(edge|edgios|edgea|edga)\/((\d+)?[\w\.]+)/i // Microsoft Edge
/(edge|edgios|edga)\/((\d+)?[\w\.]+)/i // Microsoft Edge
], [[NAME, 'Edge'], VERSION], [

/(yabrowser)\/([\w\.]+)/i // Yandex
Expand Down

0 comments on commit bf79eab

Please sign in to comment.