You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't do template.tag "input", type: "text", I have to do something like template.tag "input", [type: "text"], hence the tag: (name, args…) -> method.
I don't have access to the tag helper variables (h1, h2, etc.). That's cool though, HAML was just like that, they had 1 method, used like @template.haml_tag "input", :type => "text".
If I do this:
…the
form
andinput
methods are undefined.I see that it has something to do with how the function scopes are declared here:
Since
this
andglobal
don't include the coffeekup tag helper methods, how do I use them here?I can see potentially running them through the
coffeekup.compile
method like this:But that seems like overkill. Is there a way to fix/add this?
Thanks!
The text was updated successfully, but these errors were encountered: