Implement L.Browser.edge

This commit is contained in:
Iván Sánchez Ortega 2016-01-13 14:29:46 +01:00
parent 87b30c2cd8
commit dde24042d2

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,