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
Hence in the update(expressions, tag) method, expr is an object and the attribute is removed from the DOM instead of being updated.
One workaround is to compile tags without the --expr option and write expressions in pure JS instead of coffee. That isn't too cumbersome since expressions are supposed to be simple, but there's the overhead of switching between coffee and js depending on the part of the tag we're in.
The text was updated successfully, but these errors were encountered:
The class shorthand does not work when expressions are in coffee. The following tag:
When run through the compiler with the
-t coffee --expr
options, is translated to the following:Hence in the
update(expressions, tag)
method,expr
is an object and the attribute is removed from the DOM instead of being updated.One workaround is to compile tags without the
--expr
option and write expressions in pure JS instead of coffee. That isn't too cumbersome since expressions are supposed to be simple, but there's the overhead of switching between coffee and js depending on the part of the tag we're in.The text was updated successfully, but these errors were encountered: