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
Hi there,
New to haml_coffee_assets so please forgive me if I'm doing something dumb.
haml_coffee_assets
The following interpolation with a .hamlc file causes an error:
.hamlc
%a{ href: "/people?name=#{@name}&page=4" }
Error is:
Uncaught Error: ExecJS::ProgramError: missing ', starting on line $LINE_NUMBER
Changing the href to omit the ampersand after the interpolation prevents the error, as does using + to concatenate strings:
%a{ href: "/people?name=#{@name}page=4" } %a{ href: "/people?name=" + @name + "&page=4" }
Seems like an ampersand directly after the interpolation is the cause of the error, but I'm not sure exactly why.
Cheers :)
Edit: I'm using haml_coffee_assets 0.9.4.
The text was updated successfully, but these errors were encountered:
Thanks for reporting. This is fixed in haml-coffee, will release a new haml_coffee_assets gem asap.
Sorry, something went wrong.
New release 0.9.5 is out that fixes this issue.
Wow, that was super fast, thanks! Loving haml_coffee_assets too :)
No branches or pull requests
Hi there,
New to
haml_coffee_assets
so please forgive me if I'm doing something dumb.The following interpolation with a
.hamlc
file causes an error:Error is:
Changing the href to omit the ampersand after the interpolation prevents the error, as does using + to concatenate strings:
Seems like an ampersand directly after the interpolation is the cause of the error, but I'm not sure exactly why.
Cheers :)
Edit: I'm using
haml_coffee_assets
0.9.4.The text was updated successfully, but these errors were encountered: