Fixed test for templateRoot-prependChild

This commit is contained in:
Patrick Steele-Idem 2016-02-04 17:09:31 -07:00
parent 795a1d495f
commit d736a4369d
2 changed files with 2 additions and 14 deletions

View File

@ -5,19 +5,9 @@ function create(__helpers) {
escapeXml = __helpers.x;
return function render(data, out) {
out.w("<ul>");
var foo = "bar";
forEach(data.colors, function(color) {
foo();
out.w("<li>" +
escapeXml(color) +
"</li>");
bar();
});
out.w("</ul>");
out.w("<div></div>");
};
}

View File

@ -14,7 +14,5 @@ module.exports = function(builder) {
}
]));
console.log(templateRoot.body.items);
return templateRoot;
};