Browse files

Update lib/base.js

Added voice param to the record func
  • Loading branch information...
1 parent 81e736c commit 79b7f85700079c3217d08acaafeaf400a9ed0dae @krsboone krsboone committed Sep 16, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/base.js
View
3 lib/base.js
@@ -66,7 +66,7 @@ On = function(event, name, next, required, say) {
this.say = serializeProperty(say);
};
-Record = function(attempts, bargein, beep, choices, format, maxSilence, maxTime, method, minConfidence, name, required, say, timeout, transcription, url, password, username) {
+Record = function(attempts, bargein, beep, choices, format, maxSilence, maxTime, method, minConfidence, name, required, say, timeout, transcription, url, password, username, voice) {
this.attempts = attempts;
this.bargein = bargein;
this.beep = beep;
@@ -84,6 +84,7 @@ Record = function(attempts, bargein, beep, choices, format, maxSilence, maxTime,
this.url = url;
this.password = password;
this.username = username;
+ this.voice = voice;
};
Redirect = function(to, name, required) {

0 comments on commit 79b7f85

Please sign in to comment.