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

Method childs returns empty collection for element not inserted into DOM #24

Closed
AlexKrupko opened this issue Aug 9, 2016 · 0 comments
Closed
Assignees
Milestone

Comments

@AlexKrupko
Copy link
Owner

Method childs returns empty collection for element not inserted into DOM.

var container = document.createElement('section');
container.innerHTML = '<div>1</div><div>2</div><div>3</div>';
var childs = container.childs(); // empty collection

But if we insert container into DOM, all works fine.

@AlexKrupko AlexKrupko added this to the 1.0.7 milestone Aug 9, 2016
@AlexKrupko AlexKrupko assigned AlexKrupko and unassigned AlexKrupko Aug 9, 2016
@AlexKrupko AlexKrupko modified the milestone: 1.0.8 Aug 10, 2016
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