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

Better error when div for embedding is undefined #634

Closed
hamiltop opened this Issue May 30, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@hamiltop

hamiltop commented May 30, 2016

Right now it complains that it can't call appendChild on undefined. Which makes sense, but if the intent is to treat Elm as a black box in production, then perhaps a check on the element existing and giving a clearer error would be helpful.

noahzgordon added a commit to noahzgordon/core that referenced this issue Jun 7, 2016

noahzgordon added a commit to noahzgordon/core that referenced this issue Jun 7, 2016

noahzgordon added a commit to noahzgordon/core that referenced this issue Jun 7, 2016

@noahzgordon

This comment has been minimized.

Show comment
Hide comment
@noahzgordon

noahzgordon Jun 7, 2016

Contributor

This seems like a clear win so I went ahead and made a PR.

Contributor

noahzgordon commented Jun 7, 2016

This seems like a clear win so I went ahead and made a PR.

@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

evancz Mar 25, 2017

Member

No longer lives in core. It's in virtual-dom. Not sure if it's still an issue. If so, issue on the correct repo with SSCCE is good, PR is not useful.

Member

evancz commented Mar 25, 2017

No longer lives in core. It's in virtual-dom. Not sure if it's still an issue. If so, issue on the correct repo with SSCCE is good, PR is not useful.

@evancz evancz closed this Mar 25, 2017

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