webappengine
Version:
A web application platform that can host multiple web apps running with Node.js.
9 lines (6 loc) • 334 B
JavaScript
// a[download] attribute
// When used on an <a>, this attribute signifies that the resource it
// points to should be downloaded by the browser rather than navigating to it.
// http://developers.whatwg.org/links.html#downloading-resources
// By Addy Osmani
Modernizr.addTest('adownload', 'download' in document.createElement('a'));