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

expressions on top level tag #940

Merged
merged 1 commit into from
Jul 9, 2015
Merged

Conversation

rsbondi
Copy link
Contributor

@rsbondi rsbondi commented Jul 8, 2015

@GianlucaGuarini
Copy link
Member

good idea thanks @rsbondi! Could you drop also a few lines about this in the doc?

GianlucaGuarini added a commit that referenced this pull request Jul 9, 2015
@GianlucaGuarini GianlucaGuarini merged commit 457842a into riot:dev Jul 9, 2015
@weepy
Copy link

weepy commented Jul 9, 2015

I tried this out, but it didn't work for me. I am trying to have some top level expressions in the tag definition, e.g. in xy.tag

<xy style="width: { width}px; height: { height}px; " class={touched: touched} onmousedown={ mousedown } onmouseup={mouseup} onmousemove={mousemove} ></xy>

Is this comit supposed to fix this ?

@rsbondi
Copy link
Contributor Author

rsbondi commented Jul 9, 2015

try with class and event attributes in quotes, I think this is related to the way compilation preserves top level attributes and not this fix

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

3 participants