speech-synthesis.js 389 B

12345678910111213141516
  1. /*!
  2. {
  3. "property": "speechsynthesis",
  4. "tags": ["input", "speech"],
  5. "authors": ["Cătălin Mariș"],
  6. "name": "Speech Synthesis API",
  7. "notes": [{
  8. "name": "W3C Spec",
  9. "href": "https://w3c.github.io/speech-api/speechapi.html#tts-section"
  10. }]
  11. }
  12. !*/
  13. define(['Modernizr'], function(Modernizr) {
  14. Modernizr.addTest('speechsynthesis', 'SpeechSynthesisUtterance' in window);
  15. });