Permalink
Browse files

Add test for the speech recognition JavaScript API

  • Loading branch information...
1 parent 27f0b76 commit 853ab5563b02ffbbca4cf4598a4df5cbdda01303 @alrra alrra committed Sep 25, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 feature-detects/speech-recognition.js
@@ -0,0 +1,6 @@
+// Feature detection test for the Speech Recognition JavaScript API
+// http://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html
+//
+// by @alrra
+
+Modernizr.addTest('speechrecognition', !!Modernizr.prefixed('SpeechRecognition', window));

0 comments on commit 853ab55

Please sign in to comment.