diff --git a/www/SpeechSynthesis.js b/www/SpeechSynthesis.js index 826b4ff..dde4398 100644 --- a/www/SpeechSynthesis.js +++ b/www/SpeechSynthesis.js @@ -1,6 +1,6 @@ var exec = require("cordova/exec"); -var SpeechSynthesisVoiceList = require("org.apache.cordova.speech.speechsynthesis.SpeechSynthesisVoiceList"); +var SpeechSynthesisVoiceList = require("./SpeechSynthesisVoiceList"); var SpeechSynthesis = function() { this.pending = false; @@ -55,4 +55,4 @@ SpeechSynthesis.prototype.getVoices = function() { return this._voices; }; -module.exports = new SpeechSynthesis(); \ No newline at end of file +module.exports = new SpeechSynthesis();