Created
January 1, 2015 20:46
-
-
Save wcoder/fe53f293ed637476705f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
function isModernBrowser() | |
{ | |
return 'querySelector' in document && | |
'localStorage' in window && | |
'addEventLitener' in window; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment