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

fix: Properly mount DOMElement #449

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

alexanderGugel
Copy link
Member

DOMElements are components, therefore it should be able to instantiate them in
an isolated fashion and then add them at a later point in time using
Node#addComponent.

Other issues this PR addresses:

  • Show DOMElement when onShow is being invoked
  • Keep track of cutout state
  • Prefix private methods with _

This is the beginning of a general refactor of some parts of the platform.

DOMElements are components, therefore it should be able to instantiate them in
an isolated fashion and then add them at a later point in time using
`Node#addComponent`.
@alexanderGugel
Copy link
Member Author

Build on Travis CI failed again because of GeometryHelper.spec.js.

Couldn't reproduce on my local machine. This seems to be a pretty weird test case.

while tape ./webgl-geometries/test/*.js; do ; done

@michaelobriena
Copy link
Member

Overall I like but have a few issues with the implementation. Will comment inline

@alexanderGugel
Copy link
Member Author

@michaelobriena Did you have a change to add the inline comments?

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.

None yet

2 participants