Skip to content

Instantly share code, notes, and snippets.

@Trippnology
Created May 16, 2013 19:51
Show Gist options
  • Save Trippnology/5594549 to your computer and use it in GitHub Desktop.
Save Trippnology/5594549 to your computer and use it in GitHub Desktop.
JS: BBC "Cutting the mustard" test
// http://responsivenews.co.uk/post/18948466399/cutting-the-mustard
if('querySelector' in document
&& 'localStorage' in window
&& 'addEventListener' in window) {
// bootstrap the javascript application
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment