No magic numbers
This commit is contained in:
@@ -39,7 +39,7 @@ module.exports = {
|
||||
listOfPossibleQuestions +=
|
||||
intent.intentExplanation +
|
||||
intent.questions[0] +
|
||||
'<break time="1s"/>';
|
||||
'<break time="'+constants.voiceResponseTimings.PAUSE_BETWEEN_QUESTIONS+'ms"/>';
|
||||
}
|
||||
});
|
||||
|
||||
@@ -53,7 +53,7 @@ module.exports = {
|
||||
this.response
|
||||
.speak (
|
||||
activeSkill.invocationAnswer +
|
||||
'<break time="650ms"/>' +
|
||||
'<break time="'+constants.voiceResponseTimings.PAUSE_AFTER_WELCOME_MESSAGE+'ms"/>' +
|
||||
listOfPossibleQuestions
|
||||
)
|
||||
.listen (constants.voiceResponseStrings.GENERIC_CONTINUE); //Phrase from listen doesn't work !!!
|
||||
|
||||
Reference in New Issue
Block a user