mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
17 lines
407 B
JavaScript
17 lines
407 B
JavaScript
var marko_template = module.exports = require("marko/html").t(__filename),
|
|
marko_helpers = require("marko/runtime/html/helpers"),
|
|
marko_forEach = marko_helpers.f,
|
|
marko_escapeXml = marko_helpers.x;
|
|
|
|
function render(input, out) {
|
|
var data = input;
|
|
|
|
marko_forEach(data.colors, function(color) {
|
|
out.w(marko_escapeXml(color));
|
|
});
|
|
}
|
|
|
|
marko_template._ = render;
|
|
|
|
marko_template.meta = {};
|