-
Notifications
You must be signed in to change notification settings - Fork 53
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
unexpected &
error
#58
Comments
Sorry for this regression. While we work on a fix, please try this:
|
Thx for so fast reply. |
If that doesn't work, then you may need to do this for now:
|
There is something magic about "class" attribute causing this. I got this error, changed the attribute name to something else, and it worked fine. This unfortunately means it's not possible to set class dynamically afaict, as hash arguments are also not supported (#29). |
Actually @svicalifornia's workaround works. Use something like I still think this is a bug with the special case of "class" attribute name. |
With version 0.10.0 I have this error (
unexpected &
) when try to load a page with js which use this templateI found that the problem in this part
class="#{@status}
But this code works perfect with version 0.9.3
Not sure is it bug or I do something wrong. If it's OK, then could you tell me how I can implement dynamic classes?
The text was updated successfully, but these errors were encountered: