Skip to content
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

Find Methods #29

Closed
2 of 3 tasks
smizell opened this issue May 26, 2015 · 1 comment
Closed
2 of 3 tasks

Find Methods #29

smizell opened this issue May 26, 2015 · 1 comment
Milestone

Comments

@smizell
Copy link
Contributor

smizell commented May 26, 2015

Add a method to find the first item matching the criteria given. This will be similar to find, but it will be optimized to return the first one found and stop recursing the tree.

  • Find first
  • Find by element
  • Find by class
@smizell smizell added this to the Minim 1.0 milestone May 29, 2015
@smizell smizell changed the title Find First Method Find Methods May 29, 2015
@smizell
Copy link
Contributor Author

smizell commented Jun 19, 2015

Calling this resolved for now. The findFirst is more implementation, and can be handled in refactoring rather than as library feature later.

@smizell smizell closed this as completed Jun 19, 2015
kylef pushed a commit that referenced this issue Jan 9, 2018
Fix “Cannot read property 'element' of undefined”, release 0.7.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant