Permalink
Browse files

This was generating inexistent indexes

  • Loading branch information...
1 parent 0b82aa3 commit d579459e71e2ba11b044e7078bcab69650f08822 @ricardobeat ricardobeat committed Jun 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 brains.coffee
View
2 brains.coffee
@@ -4,7 +4,7 @@ fs = require 'fs'
module.exports =
# returns a random one from an array of strings
- anyOf: (answers) -> answers[ Math.floor(Math.random() * (answers.length+.99)) ]
+ anyOf: (answers) -> answers[ Math.floor(Math.random() * answers.length) ]
# confirm some action
queued: []
confirm: (obj) ->

0 comments on commit d579459

Please sign in to comment.