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

`findAll` on template instances should return arrays, not jQuery objects #2039

Closed
avital opened this Issue Apr 9, 2014 · 2 comments

Comments

Projects
None yet
2 participants
@avital
Contributor

avital commented Apr 9, 2014

Currently, this.findAll is just an alias for this.$, which returns jQuery objects that almost look like arrays, but not in all cases. Instead, this.findAll should return an array as before, and this.$ should still return jQuery objects.

We'd accept a good pull request implementing this. An acceptable pull request must contain tests. See the spacebars-tests package for examples.

@subhog

This comment has been minimized.

Contributor

subhog commented May 10, 2014

PR sent, see #2137

@avital

This comment has been minimized.

Contributor

avital commented May 30, 2014

Thanks @subhog, I merged #2137

@avital avital closed this May 30, 2014

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