Skip to content

Commit

Permalink
🐛 Fix import of voice list
Browse files Browse the repository at this point in the history
  • Loading branch information
macdonst committed Jun 1, 2017
1 parent d9b6691 commit d5601ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/SpeechSynthesis.js
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -55,4 +55,4 @@ SpeechSynthesis.prototype.getVoices = function() {
return this._voices;
};

module.exports = new SpeechSynthesis();
module.exports = new SpeechSynthesis();

0 comments on commit d5601ac

Please sign in to comment.