kajic/jquery-animateNumber — pull request #3 by BaylorRae (2013-03-03 22:07:05+00:00)
Title: Remove extra-parameters; use test() instead of typecasting

Here are the changes

1. The self-invoking function was only expecting the `jQuery` parameter, but was receiving `window` and `document`.

2. Instead of typecasting the value to a string and using `match()` I thought it would be easier/better to use [`test()`][mdn_test]

[mdn_test]:https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/RegExp/test