victorquinn/chancejs — pull request #25 by ryantenney (2013-07-30 03:04:00+00:00)
Title: Calculate the Luhn check digit for CC numbers

It is much simpler (and though it reaches the same result, arguably more correct) to directly calculate the check digit than it is to call `luhn_check` with each possible check digit.