Add platform.SpeechGrammar to platform object

This commit is contained in:
Christoph Diehl 2017-06-10 05:52:22 +02:00
parent bf19096239
commit 562ba9ebb7

View file

@ -68,6 +68,7 @@ utils.platform = (function () {
platform.SpeechRecognition = platformName(['SpeechRecognition', 'webkitSpeechRecognition']) platform.SpeechRecognition = platformName(['SpeechRecognition', 'webkitSpeechRecognition'])
platform.SpeechGrammarList = platformName(['SpeechGrammarList', 'webkitSpeechGrammarList']) platform.SpeechGrammarList = platformName(['SpeechGrammarList', 'webkitSpeechGrammarList'])
platform.SpeechGrammar = platformName(['SpeechGrammar'])
/* /*
function findWebGLContextName (candidates) { function findWebGLContextName (candidates) {