PawelDecowski / jquery-creditcardvalidator

jQuery credit card validation and detection plugin
jquerycreditcardvalidator.com
MIT License
1.05k stars 275 forks source link

Allow adding card types #98

Closed jaiprakashkhowal closed 7 years ago

jaiprakashkhowal commented 7 years ago

I added the code to provide flexibility for user to add new card-type by passing card-type details into options parameter. If you find changes good, please merge it.

add-new-card.html file has an example for how to use it.

PawelDecowski commented 7 years ago

Please read contributing guidelines before creating a pull request.

Also, you should never edit the .js file. The source is in .coffee files which are compiled into the .js.

jaiprakashkhowal commented 7 years ago

Created new pull-request with changes in .coffee file