Created
May 13, 2014 02:49
-
-
Save deemstone/6d5907bb439f7e3e8161 to your computer and use it in GitHub Desktop.
These code shoudn't be write more than once! For enviroment detecting, Cross browser, Minimal impletions. Just copy to use.
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 this is IE Browser | |
*/ | |
!!(window.attachEvent && !window.opera); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment