function foo() {
var body = {
"foo": "bar"
};
return body
}
Found
function foo() {
var body =<%{ body }%>;
return body
}
it works if I use for the inner expression {{{ / }}} instead <%{ / }%>, but that's not how the code is expected to work. It's effectively a hybrid form...
The whole idea is a get away from the overload of {/} in the template text
Use case:
code generator.
Scenario (simplified)
Template:
code:
Expected
Found
it works if I use for the inner expression
{{{
/}}}
instead<%{
/}%>
, but that's not how the code is expected to work. It's effectively a hybrid form... The whole idea is a get away from the overload of{
/}
in the template text