Remove javascript macro
Javascript should be written like so ``` script """ console.log("hi"); """ ```
This commit is contained in:
parent
15ac084aed
commit
c8eb8d48d4
1 changed files with 0 additions and 9 deletions
|
@ -169,15 +169,6 @@ defmodule Dsl.Html do
|
|||
end
|
||||
end
|
||||
|
||||
defmacro javascript(code) do
|
||||
quote do
|
||||
Utils.put_buffer(
|
||||
var!(buff, Dsl.Html),
|
||||
unquote(code) |> to_string
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
defmacro partial(partial) do
|
||||
quote do
|
||||
Utils.put_buffer(
|
||||
|
|
Reference in a new issue