Skip to content

fix #63 isEmpty on element with empty slot #64

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

Merged
merged 1 commit into from
Oct 2, 2017

Conversation

philstavri
Copy link
Contributor

closes #63

Mounting element with slot with no content sets vnode children to [], which makes isEmpty return false (currently checks only for undefined). This duplicates behaviour in Avoriaz.

@eddyerburgh eddyerburgh merged commit 1d1e382 into vuejs:dev Oct 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

isEmpty returns false for element containing an empty slot
2 participants