mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
16 lines
354 B
JavaScript
16 lines
354 B
JavaScript
module.exports = function create(__helpers) {
|
|
var str = __helpers.s,
|
|
empty = __helpers.e,
|
|
notEmpty = __helpers.ne,
|
|
escapeXml = __helpers.x;
|
|
|
|
return function render(data, out) {
|
|
out.w('Hello ' +
|
|
escapeXml(data.name) +
|
|
'! Hello ' +
|
|
str(data.name) +
|
|
'! Hello ' +
|
|
str(data.missing) +
|
|
'!');
|
|
};
|
|
} |