From 9075aa3afb960642de49daf192303098a62acd80 Mon Sep 17 00:00:00 2001 From: Simon MacDonald Date: Tue, 27 Mar 2018 14:31:36 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Issue=20#6:=20SpeechSynthesisUtt?= =?UTF-8?q?erance=20constructor=20takes=20an=20argument?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- www/SpeechSynthesisUtterance.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/SpeechSynthesisUtterance.js b/www/SpeechSynthesisUtterance.js index 586c61c..e44eabe 100644 --- a/www/SpeechSynthesisUtterance.js +++ b/www/SpeechSynthesisUtterance.js @@ -1,5 +1,5 @@ -var SpeechSynthesisUtterance = function() { - this.text; +var SpeechSynthesisUtterance = function(text) { + this.text = text; this.lang; this.voiceURI; this.volume;