Skip to content

Commit

Permalink
Published 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevenic committed Oct 5, 2017
1 parent 1f0f285 commit d9dca63
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 26 deletions.
10 changes: 5 additions & 5 deletions Node/core/lib/bots/Library.js
Original file line number Diff line number Diff line change
Expand Up @@ -471,13 +471,13 @@ var Library = (function (_super) {
Library.prototype.logPrefix = function () {
return 'Library("' + this.name + '")';
};
Library.RouteTypes = {
GlobalAction: 'GlobalAction',
StackAction: 'StackAction',
ActiveDialog: 'ActiveDialog'
};
return Library;
}(events_1.EventEmitter));
Library.RouteTypes = {
GlobalAction: 'GlobalAction',
StackAction: 'StackAction',
ActiveDialog: 'ActiveDialog'
};
exports.Library = Library;
exports.systemLib = new Library(consts.Library.system);
exports.systemLib.localePath(path.join(__dirname, '../locale/'));
24 changes: 12 additions & 12 deletions Node/core/lib/deprecated/LegacyPrompts.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,19 +249,19 @@ var LegacyPrompts = (function (_super) {
}
}
};
LegacyPrompts.options = {
recognizer: new SimplePromptRecognizer(),
promptAfterAction: true
};
LegacyPrompts.defaultRetryPrompt = {
text: "default_text",
number: "default_number",
confirm: "default_confirm",
choice: "default_choice",
time: "default_time",
attachment: "default_file"
};
return LegacyPrompts;
}(Dialog_1.Dialog));
LegacyPrompts.options = {
recognizer: new SimplePromptRecognizer(),
promptAfterAction: true
};
LegacyPrompts.defaultRetryPrompt = {
text: "default_text",
number: "default_number",
confirm: "default_confirm",
choice: "default_choice",
time: "default_time",
attachment: "default_file"
};
exports.LegacyPrompts = LegacyPrompts;
Library_1.systemLib.dialog('BotBuilder:Prompts', new LegacyPrompts());
10 changes: 5 additions & 5 deletions Node/core/lib/dialogs/EntityRecognizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,11 @@ var EntityRecognizer = (function () {
return [choices.toString()];
}
};
EntityRecognizer.dateExp = /^\d{4}-\d{2}-\d{2}/i;
EntityRecognizer.yesExp = /^(1|y|yes|yep|sure|ok|true)(\W|$)/i;
EntityRecognizer.noExp = /^(2|n|no|nope|not|false)(\W|$)/i;
EntityRecognizer.numberExp = /[+-]?(?:\d+\.?\d*|\d*\.?\d+)/;
EntityRecognizer.ordinalWords = 'first|second|third|fourth|fifth|sixth|seventh|eigth|ninth|tenth';
return EntityRecognizer;
}());
EntityRecognizer.dateExp = /^\d{4}-\d{2}-\d{2}/i;
EntityRecognizer.yesExp = /^(1|y|yes|yep|sure|ok|true)(\W|$)/i;
EntityRecognizer.noExp = /^(2|n|no|nope|not|false)(\W|$)/i;
EntityRecognizer.numberExp = /[+-]?(?:\d+\.?\d*|\d*\.?\d+)/;
EntityRecognizer.ordinalWords = 'first|second|third|fourth|fifth|sixth|seventh|eigth|ninth|tenth';
exports.EntityRecognizer = EntityRecognizer;
6 changes: 3 additions & 3 deletions Node/core/lib/dialogs/PromptRecognizers.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,11 @@ var PromptRecognizers = (function () {
if (min === void 0) { min = 0.5; }
return Math.min(min + (entity.length / utterance.length), max);
};
PromptRecognizers.numOrdinals = {};
PromptRecognizers.expCache = {};
PromptRecognizers.choiceCache = {};
return PromptRecognizers;
}());
PromptRecognizers.numOrdinals = {};
PromptRecognizers.expCache = {};
PromptRecognizers.choiceCache = {};
exports.PromptRecognizers = PromptRecognizers;
function matchAll(exp, text) {
exp.lastIndex = 0;
Expand Down
2 changes: 1 addition & 1 deletion Node/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "botbuilder",
"author": "Microsoft Corp.",
"description": "Bot Builder is a dialog system for building rich bots on virtually any platform.",
"version": "3.10.5",
"version": "3.11.0",
"license": "MIT",
"keywords": [
"botbuilder",
Expand Down

0 comments on commit d9dca63

Please sign in to comment.