mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
17 lines
263 B
JavaScript
17 lines
263 B
JavaScript
var template = require("marko/vdom").c(__filename);
|
|
|
|
module.exports = template;
|
|
|
|
var marko_attrs0 = {
|
|
"class": "foo"
|
|
};
|
|
|
|
function render(data, out) {
|
|
out.e("div", marko_attrs0, 3)
|
|
.t("Hello ")
|
|
.t(name)
|
|
.t("!");
|
|
}
|
|
|
|
template._ = render;
|