Skip to content

Document what exactly .wrapInner() returns #338

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
rulatir opened this issue Jul 12, 2013 · 1 comment
Closed

Document what exactly .wrapInner() returns #338

rulatir opened this issue Jul 12, 2013 · 1 comment

Comments

@rulatir
Copy link

rulatir commented Jul 12, 2013

Current documentation of wrapInner() does not specify what exactly the returned jQuery object contains. Theoretically there are three possibilities:

  • the original collection,
  • the collection of original collection members' children that were wrapped,
  • the collection of wrappers

Which is the case? Please document this.

@dmethvin
Copy link
Member

It doesn't look like anything really needs to be done here. Whenever the signature says the API returns jQuery, it will be the original jQuery unless otherwise specified in the documentation. If that's not clear, running a very small test case would verify.

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