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! I got a problem when i use multiple argument's function:
script src=static_path(@conn, "/js/zepto.min.js")
== Compilation error on file web/views/layout_view.ex == ** (TokenMissingError) web/templates/layout/app.html.slime:1: missing terminator: ) (for "(" starting at line 1) (eex) lib/eex/compiler.ex:36: EEx.Compiler.generate_buffer/4 (phoenix) lib/phoenix/template.ex:378: Phoenix.Template.compile/2 (phoenix) lib/phoenix/template.ex:186: Phoenix.Template."-MACRO-__before_compile__/2-fun-0-"/3 (elixir) lib/enum.ex:1755: Enum."-reduce/3-lists^foldl/2-0-"/3 (phoenix) expanding macro: Phoenix.Template.__before_compile__/1 web/views/layout_view.ex:1: App.LayoutView (module) (elixir) lib/kernel/parallel_compiler.ex:117: anonymous fn/4 in Kernel.ParallelCompiler.spawn_compilers/1
As a temporary solution I use string interpolation:
script src="#{static_path(@conn, "/js/main.bundle.js")}"
The text was updated successfully, but these errors were encountered:
Hi! This is a known issue, as another work-around you can remove space after comma between arguments. Also there is PR #113 with a fix.
Sorry, something went wrong.
closed by #113
No branches or pull requests
Hi! I got a problem when i use multiple argument's function:
As a temporary solution I use string interpolation:
script src="#{static_path(@conn, "/js/main.bundle.js")}"
The text was updated successfully, but these errors were encountered: