Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

file-api.js 463B

123456789101112
  1. /**
  2. * file tests for the File API specification
  3. * Tests for objects specific to the File API W3C specification without
  4. * being redundant (don't bother testing for Blob since it is assumed
  5. * to be the File object's prototype.
  6. *
  7. * Will fail in Safari 5 due to its lack of support for the standards
  8. * defined FileReader object
  9. */
  10. Modernizr.addTest('filereader', function () {
  11. return !!(window.File && window.FileList && window.FileReader);
  12. });