mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 09:58:39 +00:00
Fix #40
This commit is contained in:
parent
40f2d52046
commit
25a501dcde
|
|
@ -14,8 +14,16 @@
|
|||
jsOMS.Autoloader.defineNamespace('jsOMS.UI.Input.Voice');
|
||||
|
||||
// todo: remove once obsolete
|
||||
/** global: webkitSpeechRecognition */
|
||||
/** global: SpeechRecognition */
|
||||
var SpeechRecognition = typeof SpeechRecognition !== 'undefined' ? SpeechRecognition : typeof webkitSpeechRecognition !== 'undefined' ? webkitSpeechRecognition : null;
|
||||
|
||||
/** global: webkitSpeechGrammarList */
|
||||
/** global: SpeechGrammarList */
|
||||
var SpeechGrammarList = typeof SpeechGrammarList !== 'undefined' ? SpeechGrammarList : typeof webkitSpeechGrammarList !== 'undefined' ? webkitSpeechGrammarList : null;
|
||||
|
||||
/** global: webkitSpeechRecognitionEvent */
|
||||
/** global: SpeechRecognitionEvent */
|
||||
var SpeechRecognitionEvent = typeof SpeechRecognitionEvent !== 'undefined' ? SpeechRecognitionEvent : typeof webkitSpeechRecognitionEvent !== 'undefined' ? webkitSpeechRecognitionEvent : null;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user