From 7cc7910df63d19e7ebc67bb1156437f0559712d7 Mon Sep 17 00:00:00 2001 From: Lars Henrik Mai Date: Sun, 21 Sep 2014 12:25:47 +0200 Subject: add foundation via bower --- source/bower_components/modernizr/feature-detects/a-download.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 source/bower_components/modernizr/feature-detects/a-download.js (limited to 'source/bower_components/modernizr/feature-detects/a-download.js') diff --git a/source/bower_components/modernizr/feature-detects/a-download.js b/source/bower_components/modernizr/feature-detects/a-download.js new file mode 100644 index 0000000..559fadd --- /dev/null +++ b/source/bower_components/modernizr/feature-detects/a-download.js @@ -0,0 +1,8 @@ + +// a[download] attribute +// When used on an , 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')); -- cgit v1.2.1