Skip to content

Confusing "matching" wording in first(), slice(), others #127

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
pobocks opened this issue Oct 16, 2012 · 0 comments
Closed

Confusing "matching" wording in first(), slice(), others #127

pobocks opened this issue Oct 16, 2012 · 0 comments

Comments

@pobocks
Copy link
Contributor

pobocks commented Oct 16, 2012

The documentation for first begins: "Given a jQuery object that represents a set of DOM elements, the .first() method constructs a new jQuery object from the first matching element."

The "first matching element" implies that first takes a selector and does matching, when it is strictly a slice into the array. Several functions share this wording issue - please add more in comments as found.

first()
last()
slice()

kswedberg added a commit that referenced this issue Oct 16, 2012
…to pobocks-master

* 'master' of https://github.com/pobocks/api.jquery.com:
  fixes #127 - language update for first(), last(), slice()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants