Skip to content

Commit

Permalink
Remove Debugging Output
Browse files Browse the repository at this point in the history
  • Loading branch information
prikhi committed Apr 16, 2013
1 parent 0adf846 commit 884e982
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions parsley.extend.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ window.ParsleyConfig = window.ParsleyConfig || {};
}

, americandate: function ( val, elem, self) {
if(!/^([01]?[1-9])[.\/-]([0-3]?[0-9])[.\/-]([0-9]{4}|[0-9]{2})$/.test(val)) {
console.error(val)
if(!/^([01]?[1-9])[\.\/-]([0-3]?[0-9])[\.\/-]([0-9]{4}|[0-9]{2})$/.test(val)) {
return false;
}
var parts = val.split(/[.\/-]+/);
Expand Down

0 comments on commit 884e982

Please sign in to comment.