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

number `0` as a child is not rendered at all, but should #1752

Closed
StephanHoyer opened this Issue Mar 28, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@StephanHoyer
Copy link
Member

StephanHoyer commented Mar 28, 2017

0 should be rendered as "0" but is ignored completely

https://jsfiddle.net/8w0gnqws/2/

worked in pre 1.1.0

also see https://travis-ci.org/StephanHoyer/mithril-node-render/builds/215716230

@StephanHoyer StephanHoyer changed the title problem rendering the number `0` as a child number `0` as a child is not rendered at all, but should Mar 28, 2017

StephanHoyer added a commit to StephanHoyer/mithril.js that referenced this issue Mar 28, 2017

isiahmeadows pushed a commit that referenced this issue Mar 28, 2017

Isiah Meadows
Merge pull request #1753 from StephanHoyer/master
Fix rendering `0` as only child without attrs - fixes #1752
@isiahmeadows

This comment has been minimized.

Copy link
Collaborator

isiahmeadows commented Mar 28, 2017

Fixed in #1753.

isiahmeadows added a commit to isiahmeadows/mithril.js that referenced this issue Mar 29, 2017

Merge pull request MithrilJS#1753 from StephanHoyer/master
Fix rendering `0` as only child without attrs - fixes MithrilJS#1752
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment