victorquinn/chancejs — pull request #23 by eskimoblood (2013-07-27 20:41:15+00:00)
Title: refactor to make the code a bit DRYer

- add initOptiions method, to have single place for settings defaults and create options object if neccesary
- add testRange method to have single place to throw range errors
- add constance for max and min integer
- remove unused options parameter in some methods
- add missing `var` statement