speech-recognition.js 613 B

123456789101112131415161718
  1. /*!
  2. {
  3. "property": "speechrecognition",
  4. "tags": ["input", "speech"],
  5. "authors": ["Cătălin Mariș"],
  6. "name": "Speech Recognition API",
  7. "notes": [{
  8. "name": "W3C Spec",
  9. "href": "https://w3c.github.io/speech-api/speechapi.html#speechreco-section"
  10. },{
  11. "name": "Introduction to the Web Speech API",
  12. "href": "https://developers.google.com/web/updates/2013/01/Voice-Driven-Web-Apps-Introduction-to-the-Web-Speech-API"
  13. }]
  14. }
  15. !*/
  16. define(['Modernizr', 'prefixed'], function(Modernizr, prefixed) {
  17. Modernizr.addTest('speechrecognition', !!prefixed('SpeechRecognition', window));
  18. });