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

Add a isEmpty method or property #11

Closed
justinbmeyer opened this issue Jun 19, 2018 · 0 comments
Closed

Add a isEmpty method or property #11

justinbmeyer opened this issue Jun 19, 2018 · 0 comments

Comments

@justinbmeyer
Copy link
Contributor

Many parts of CanJS check if an observation is bound which ends up walking the entire tree. But we usually only want to know if the tree is empty or not. I think we should add an isEmpty and have other parts of CanJS use this instead of .size().

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