Created
February 5, 2014 16:19
-
-
Save fedir/8827279 to your computer and use it in GitHub Desktop.
Check IE9 IE10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (document.addEventListener) { | |
alert("IE9 or greater"); | |
} | |
if (window.requestAnimationFrame) { | |
alert("IE10 or greater"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment