Changelog
4.0.0
compile.both()
, since it was not as useful as it has appeared at first and it would make the other improvents in this release harder to implement.debug
option, since it was not useful to be present in the public APIcompileDebug
(defaults to true
) to indicate whether to add extended context to exceptionsChangelog
3.1.1
Changelog
3.0.0
<% %>
are no longer allowed in attribute values, for safety and simplicity, use escaped tags <%= %>
standAlone
option to compile()
. Use new function compile.standAlone()
for similar effectcompile.standAlone()
. It returns the JS render function body as a string. The string can be trasmitted to a client and then the render function reconstructed with new Function('locals, customRender', code)
Changelog
2.0.1
Changelog
2.0.0
<eh-placeholder>
is no longer a void element, its content indicates the default value if no content for it is providedChangelog
1.1.0
transformer
option to extend semantics