Skip to content

Commit

Permalink
refatorando ordem das bandeiras
Browse files Browse the repository at this point in the history
  • Loading branch information
washingtonsoares committed Dec 16, 2016
1 parent 45d64b3 commit df474ce
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions dist/creditcard.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ var CREDIT_CARD_LIST = [{
}, {
name: 'Amex',
regexpFull: '^3[47][0-9]{13}$'
}, {
name: 'Maestro',
regexpFull: '^(5018|5020|5038|6304|6759|6761|6763)[0-9]{8,15}$'
}, {
name: 'Aura',
regexpFull: '^50[0-9]{14,17}$'
Expand All @@ -116,9 +119,6 @@ var CREDIT_CARD_LIST = [{
}, {
name: 'Visa',
regexpFull: '^4[0-9]{12}(?:[0-9]{3})?$'
}, {
name: 'Maestro',
regexpFull: '^(50|56|57|58|59|60|61|62|63|64|65|66|67|68|69)\\d{12,19}$'
}];

var CreditCardList = function () {
Expand Down
2 changes: 1 addition & 1 deletion dist/creditcard.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/creditCardList.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ const CREDIT_CARD_LIST = [
}, {
name: 'Amex',
regexpFull: '^3[47][0-9]{13}$'
}, {
name: 'Maestro',
regexpFull: '^(5018|5020|5038|6304|6759|6761|6763)[0-9]{8,15}$'
}, {
name: 'Aura',
regexpFull: '^50[0-9]{14,17}$'
Expand All @@ -26,9 +29,6 @@ const CREDIT_CARD_LIST = [
}, {
name: 'Visa',
regexpFull: '^4[0-9]{12}(?:[0-9]{3})?$'
}, {
name: 'Maestro',
regexpFull: '^(50|56|57|58|59|60|61|62|63|64|65|66|67|68|69)\\d{12,19}$'
}
];

Expand Down

0 comments on commit df474ce

Please sign in to comment.