Merge pull request #4143 from Leaflet/msedge

Implement L.Browser.edge
This commit is contained in:
Vladimir Agafonkin 2016-01-13 15:34:58 +02:00
commit 161172bbb9

View File

@ -30,6 +30,7 @@
L.Browser = {
ie: ie,
ielt9: ie && !document.addEventListener,
edge: 'msLaunchUri' in navigator && !('documentMode' in document),
webkit: webkit,
gecko: gecko,
android: ua.indexOf('android') !== -1,