-
Notifications
You must be signed in to change notification settings - Fork 264
jQuery.isNumber: Clarify purpose and behavior #864
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
@gibson042 An updated note is already in the 3.0 docs. |
Yes, but it the update in v3.0.0-docs is independent of gh-862 (which this PR addresses). |
It's not completely independent. The notes overlap. |
Keep in mind that limiting it to strings and numbers is a change of behavior for 3.0. |
Yeah, sorry I missed that. Fixed. |
@@ -1,7 +1,7 @@ | |||
<?xml version="1.0"?> | |||
<entry type="method" name="jQuery.isNumeric" return="Boolean"> | |||
<title>jQuery.isNumeric()</title> | |||
<desc>Determines whether its argument is a number.</desc> | |||
<desc>Determines whether its argument represents a Javascript number.</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.
JavaScript is misspelled here.
@AurelioDeRosa done. |
LGTM. |
Fixes gh-862
Ref jquery/jquery#2781
I held off in case the method gets removed, but that's no reason not to have good documentation while it's still around.