Permalink
Browse files

rei now only shows the top answer. (this can get mucch better)

  • Loading branch information...
1 parent e584f72 commit d63a83e787bb52c83d72ecf9be0b5bbf84237403 @obra committed Aug 6, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 app/scripts/main.js
View
@@ -18,7 +18,8 @@ function handleQuery() {
return;
$("#conversation").append('<div class="user"><span class="yourname">You:</span> <span class="msg">'+cmd+'</span></div>');
var response = Rei.handleQuery(cmd);
- reiSay(JSON.stringify(response));
+ reiSay(response.bestResponse[1]);
+ //reiSay(JSON.stringify(response));
}
function reiSay(string) {

0 comments on commit d63a83e

Please sign in to comment.