mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
14 lines
234 B
JavaScript
14 lines
234 B
JavaScript
var marko_template = module.exports = require("marko/vdom").t();
|
|
|
|
function render(data, out) {
|
|
out.e("div", {
|
|
foo: "bar",
|
|
hello: "world"
|
|
}, 3)
|
|
.t("Hello ")
|
|
.t(name)
|
|
.t("!");
|
|
}
|
|
|
|
marko_template._ = render;
|