creditable
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -9,3 +9,4 @@ // Input a credit card number string, returns a key signifying the type of credit card it is | ||
DISCOVER: "DISCOVER", | ||
AMEX: "AMEX" | ||
AMEX: "AMEX", | ||
JCB: "JCB" | ||
}; | ||
@@ -26,2 +27,5 @@ | ||
// 35 | ||
types[ keys.JCB ] = /^35/; | ||
function CreditableCardType( val ) { | ||
@@ -28,0 +32,0 @@ for( var j in types ) { |
@@ -9,3 +9,4 @@ // Input a credit card number string, returns a key signifying the type of credit card it is | ||
DISCOVER: 3, | ||
AMEX: 4 | ||
AMEX: 4, | ||
JCB: 3 | ||
}; | ||
@@ -12,0 +13,0 @@ |
{ | ||
"name": "creditable", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "Utilities for working with credit card form input.", | ||
@@ -5,0 +5,0 @@ "main": "creditablecardtype.js", |
10551
132