Skip to content

Commit

Permalink
Fixed mistake in code example
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsharpoblunto committed Apr 20, 2015
1 parent 42ee8a5 commit 61723b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ chain.addWordsToChain(dictionary);
// dictionary, then this method will throw an Error after 25 failed attempts. This
// can be customized by adding a final parameter to the method indicating the maximum
// number of attempts to make when generating a word.
// e.g. chain.generateWord(5,10,true,100); for 100 attempts
var randomWord = chain.generateWord(5,10,true);
// e.g. chain.generateWord(5,10,false,100); for 100 attempts
var randomWord = chain.generateWord(5,10,false);
```

## License
Expand Down

0 comments on commit 61723b0

Please sign in to comment.