From d5601ac8989803d213aea3988ef206d885e0248b Mon Sep 17 00:00:00 2001 From: Simon MacDonald Date: Thu, 1 Jun 2017 10:51:21 -0400 Subject: [PATCH] :bug: Fix import of voice list --- www/SpeechSynthesis.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();