summaryrefslogtreecommitdiff
path: root/source/bower_components/modernizr/feature-detects/audio-webaudio-api.js
diff options
context:
space:
mode:
Diffstat (limited to 'source/bower_components/modernizr/feature-detects/audio-webaudio-api.js')
-rw-r--r--source/bower_components/modernizr/feature-detects/audio-webaudio-api.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/bower_components/modernizr/feature-detects/audio-webaudio-api.js b/source/bower_components/modernizr/feature-detects/audio-webaudio-api.js
new file mode 100644
index 0000000..46d3c63
--- /dev/null
+++ b/source/bower_components/modernizr/feature-detects/audio-webaudio-api.js
@@ -0,0 +1,4 @@
+// Web Audio API
+// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html
+// By Addy Osmani
+Modernizr.addTest('webaudio', !!(window.webkitAudioContext || window.AudioContext));