stripe/jquery.payment — pull request #38 by kulte (2013-02-20 23:08:11+00:00)
Title: Better expiry formatters

### Better expiry formatters

Sometimes people have separate credit card input fields for month expiry and year expiry. There should exist library functionality to format these too.

* Added `$.fn.payment('formatMonthExpiry')` that includes a leading zero for single character inputs
* Added `$.fn.payment('formatTwoDigitYearExpiry')` that restricts length of input to two numeric characters
* Added `$.fn.payment('formatFourDigitYearExpiry')` that restricts length of input to four numeric characters