diff --git a/src/polyfill.js b/src/polyfill.js index 5d03b55..83f44d7 100644 --- a/src/polyfill.js +++ b/src/polyfill.js @@ -112,7 +112,7 @@ return this; }; - var speechSynthesisPolyfill = function(){ + var SpeechSynthesisPolyfill = function(){ /** * Identify the polyfill usage @@ -262,7 +262,7 @@ }; window.SpeechSynthesisUtterancePolyfill = SpeechSynthesisUtterancePolyfill; - window.speechSynthesisPolyfill = new speechSynthesisPolyfill(); + window.speechSynthesisPolyfill = new SpeechSynthesisPolyfill(); })(window, document);