summaryrefslogtreecommitdiff
path: root/source/bower_components/modernizr/feature-detects/a-download.js
blob: 559fadde61b5c061d4a495ecd43d3c6ea127f76d (plain)
1
2
3
4
5
6
7
8

// 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'));