-
Notifications
You must be signed in to change notification settings - Fork 30
Entries: document the ability to define a global normalizer #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to self
entries/normalizer.xml
Outdated
normalizer: function( value ) { | ||
return $.trim( value ); | ||
}, | ||
rules: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix indentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I should use either spaces or tabs
|
</example> | ||
|
||
<example> | ||
<desc>Using a global normalizer in conjunction with a local one</desc> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we note the version in which this new api was added? (Not sure we do it in other places)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAIK, we never added the version to any of the available API, nor it was added before.
If you want I can add it, but that will be inconsistent with the rest of the documentation.
Ok, merge as is. Thx @Arkni |
Please don't merge, the global normalizer is not released yet.refs jquery-validation/jquery-validation@a88ae88