Commit fb9306dd authored by John Palmer's avatar John Palmer Committed by Commit Bot

Fix small mistake in docs for chrome.tts

Change-Id: Ife1502a2d92a9f9ce9743e6fae95419bfd956a1e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2384451
Commit-Queue: Karan Bhatia <karandeepb@chromium.org>
Reviewed-by: default avatarKaran Bhatia <karandeepb@chromium.org>
Auto-Submit: John Palmer <jopalmer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#809038}
parent d992658b
......@@ -76,7 +76,7 @@ pass an event listener in the options to <code>speak()</code>, like this:</p>
utterance,
{
onEvent: function(event) {
console.log('Event ' + event.type ' at position ' + event.charIndex);
console.log('Event ' + event.type + ' at position ' + event.charIndex);
if (event.type == 'error') {
console.log('Error: ' + event.errorMessage);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment