Closed gyugyu closed 10 years ago
TypeError is thrown when null is passed as cvvSelector. So, allow to pass null as cvvSelector and cardTypeSelector parameter.
var creditly = Creditly.initialize( '.creditly-wrapper .expiration-month-and-year', '.creditly-wrapper .credit-card-number', null, '.creditly-wrapper .card-type' );
Thanks for the PR!
TypeError is thrown when null is passed as cvvSelector. So, allow to pass null as cvvSelector and cardTypeSelector parameter.