mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
21 lines
563 B
JavaScript
21 lines
563 B
JavaScript
var marko_template = require("marko/html").t(__filename);
|
|
|
|
module.exports = marko_template;
|
|
|
|
var marko_helpers = require("marko/runtime/html/helpers"),
|
|
marko_escapeXml = marko_helpers.x,
|
|
marko_loadTag = marko_helpers.t,
|
|
test_addNestedVariable_tag = marko_loadTag(require("./tags/test-addNestedVariable/renderer"));
|
|
|
|
function render(data, out) {
|
|
test_addNestedVariable_tag({
|
|
renderBody: function renderBody(out, foo) {
|
|
out.w("Hello " +
|
|
marko_escapeXml(foo) +
|
|
"!");
|
|
}
|
|
}, out);
|
|
}
|
|
|
|
marko_template._ = render;
|