Skip to content

Instantly share code, notes, and snippets.

@detroitpro
Created August 3, 2011 14:42
Show Gist options
  • Save detroitpro/1122792 to your computer and use it in GitHub Desktop.
Save detroitpro/1122792 to your computer and use it in GitHub Desktop.
Detecting HTML5 File Features
$(document).ready(function () {
if (window.File && window.FileReader && window.FileList && window.Blob) {
//console.log('2012');
wireUpModernFeatures();
} else {
//console.log('FAIL');
wireUpClassicFeatures();
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment