We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is similar to issue #2719
Not all JavaScript expressions work in a template expression. This is unexpected particularly because the documentation says in the Syntax section:
All template expressions are "just javascript."
Here's an example using valid JavaScript that causes a syntax error:
<div>{ ['Hello', 'world!'].join(' ') }</div>
Chrome, but I'm assuming everywhere.
Riot 4.0.3.
It seems like either the documentation should be improved, or templates should support all valid JavaScript syntax.
The text was updated successfully, but these errors were encountered:
riot/compiler@9296d27
updated: compiler fixing #2859
fbd0645
Thank you, it was a compiler issue. It got fixed in Riot.js@4.12.4
Sorry, something went wrong.
GianlucaGuarini
Successfully merging a pull request may close this issue.
This is similar to issue #2719
Not all JavaScript expressions work in a template expression. This is unexpected particularly because the documentation says in the Syntax section:
Here's an example using valid JavaScript that causes a syntax error:
Chrome, but I'm assuming everywhere.
Riot 4.0.3.
It seems like either the documentation should be improved, or templates should support all valid JavaScript syntax.
The text was updated successfully, but these errors were encountered: