Skip to content

Instantly share code, notes, and snippets.

@teddyzetterlund
Created August 4, 2014 11:08
Show Gist options
  • Save teddyzetterlund/d5ad365c21f5d4d26717 to your computer and use it in GitHub Desktop.
Save teddyzetterlund/d5ad365c21f5d4d26717 to your computer and use it in GitHub Desktop.
if (
'querySelector' in document &&
'localStorage' in window &&
'addEventListener' in window
) {
return true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment