Make HTML templates output Javascript, part 2. #829

This commit is contained in:
ccd0 2019-07-25 13:07:38 -07:00
parent c64acead26
commit b8a9077823

View File

@ -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) {