Skip to content

Commit

Permalink
Fixed SSML
Browse files Browse the repository at this point in the history
  • Loading branch information
madhurgupta10 committed Dec 29, 2017
1 parent 05150f3 commit 5bedfce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions lambda/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,16 @@ var handlers = {
}
else {
//this.emit(':tell', speechOutput);
var cardString = speechOutput[0][0] + "\n" + speechOutput[1][0] + "\n" +
speechOutput[0][1] + "\n" + speechOutput[1][1] + "\n" +
speechOutput[0][2] + "\n" + speechOutput[1][2] + "\n" +
speechOutput[0][3] + "\n" + speechOutput[1][3] + "\n" +
var cardString = speechOutput[0][0] + "\n" + speechOutput[1][0] + "\n" + "\n"
speechOutput[0][1] + "\n" + speechOutput[1][1] + "\n" + "\n"
speechOutput[0][2] + "\n" + speechOutput[1][2] + "\n" + "\n"
speechOutput[0][3] + "\n" + speechOutput[1][3] + "\n" + "\n"
speechOutput[0][4] + "\n" + speechOutput[1][4] + "\n"
var speechString = speechOutput[0][0] + "...." +
speechOutput[0][1] + "...." +
speechOutput[0][2] + "...." +
speechOutput[0][3] + "...." +
speechOutput[0][4] + "...."
var speechString = speechOutput[0][0] + ",,,," +
speechOutput[0][1] + ",,,," +
speechOutput[0][2] + ",,,," +
speechOutput[0][3] + ",,,," +
speechOutput[0][4] + ",,,,"
this.emit(":tellWithCard", speechString, SKILL_NAME, cardString);
//this.emit(':tellWithCard', speechOutput, this.t("SKILL_NAME"), speechOutput+"/n"+speechOutput);
}
Expand Down
Binary file modified lambda/top-deals.zip
Binary file not shown.

0 comments on commit 5bedfce

Please sign in to comment.