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

a-download.js 334B

12345678
  1. // a[download] attribute
  2. // When used on an <a>, this attribute signifies that the resource it
  3. // points to should be downloaded by the browser rather than navigating to it.
  4. // http://developers.whatwg.org/links.html#downloading-resources
  5. // By Addy Osmani
  6. Modernizr.addTest('adownload', 'download' in document.createElement('a'));