Skip to content

Conversation

Arkni
Copy link
Member

@Arkni Arkni commented Feb 15, 2018

No description provided.

src/core.js Outdated
@@ -1386,6 +1386,16 @@ $.extend( $.validator, {

// https://jqueryvalidation.org/date-method/
date: function( value, element ) {
if ( this.settings.debug && window.console ) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we warn only on the first occurence? Doing it all the time could get a perf problem?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I'll update it shortly.

@Arkni Arkni force-pushed the date-method-warning branch from 685ee30 to d818a4f Compare February 16, 2018 23:47
@staabm staabm merged commit cd206d3 into jquery-validation:master Feb 17, 2018
@staabm
Copy link
Member

staabm commented Feb 17, 2018

Thx

@Arkni Arkni deleted the date-method-warning branch February 17, 2018 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants