Make HTML templates output Javascript, part 2. #829
This commit is contained in:
parent
c64acead26
commit
b8a9077823
@ -168,7 +168,7 @@ tools.html = function(template) {
|
||||
if (stream.text) {
|
||||
throw new Error(`Unexpected characters in template (${stream.text}): ${template}`);
|
||||
}
|
||||
return `(innerHTML: \`${output}\`)`;
|
||||
return `\`{innerHTML: ${output}}\``;
|
||||
};
|
||||
|
||||
tools.assert = function(statement) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user