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

Support for virtual-dom style object #3

Closed
vorg opened this issue Jan 5, 2016 · 1 comment
Closed

Support for virtual-dom style object #3

vorg opened this issue Jan 5, 2016 · 1 comment

Comments

@vorg
Copy link

vorg commented Jan 5, 2016

From what I understand virtual-dom expects style property as an object while in hyperx this happens:

var tree = hx`<div style=${{color:'red'}}>`
console.log(tree);
//[Log] VirtualNode {tagName: "DIV", properties: {style: "[object Object]"}...
@ghost
Copy link

ghost commented Jan 5, 2016

fixed in 1.0.3 and I added this use case to the tests

This issue was closed.
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

No branches or pull requests

1 participant