[Pkg-javascript-commits] [leaflet] 138/301: fix broken IE detection in IE11 #2102

Jonas Smedegaard js at moszumanska.debian.org
Mon Jan 27 22:22:47 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository leaflet.

commit f73becca22af145348e19294f4a0cb938baaf558
Author: Vladimir Agafonkin <agafonkin at gmail.com>
Date:   Fri Oct 18 20:15:14 2013 +0300

    fix broken IE detection in IE11 #2102
---
 src/core/Browser.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/Browser.js b/src/core/Browser.js
index c7ea55e..02571c5 100644
--- a/src/core/Browser.js
+++ b/src/core/Browser.js
@@ -4,7 +4,7 @@
 
 (function () {
 
-	var ie = !!window.ActiveXObject,
+	var ie = 'ActiveXObject' in window,
 	    ie6 = ie && !window.XMLHttpRequest,
 	    ie7 = ie && !document.querySelector,
 		ielt9 = ie && !document.addEventListener,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet.git



More information about the Pkg-javascript-commits mailing list