8000 jQuery.isNumber: Clarify purpose and behavior by gibson042 · Pull Request #864 · jquery/api.jquery.com · GitHub
Skip to content

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

Closed
wants to merge 4 commits into from

Conversation

gibson042
Copy link
Member

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.

@timmywil
Copy link
Member

@gibson042 An updated note is already in the 3.0 docs.

@gibson042
Copy link
Member Author

Yes, but it the update in v3.0.0-docs is independent of gh-862 (which this PR addresses).

@timmywil
Copy link
Member

It's not completely independent. The notes overlap.

@timmywil
Copy link
Member

Keep in mind that limiting it to strings and numbers is a change of behavior for 3.0.

@gibson042
Copy link
Member Author

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>
Copy link
Member

Choose a reason for hiding this comment

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

JavaScript is misspelled here.

@gibson042
Copy link
Member Author

@AurelioDeRosa done.

@AurelioDeRosa
Copy link
Member

LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants