marko/test/test-project/simple-hello-tag.js
2014-02-03 17:23:52 -07:00

4 lines
163 B
JavaScript

exports.process = function(input, context) {
var name = input.name || "(unknown)";
context.write("Hello " + name + "! adult=" + (input.adult === true));
};