mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
26 lines
663 B
JavaScript
26 lines
663 B
JavaScript
"use strict";
|
|
|
|
var marko_template = module.exports = require("marko/html").t(__filename),
|
|
marko_loadTemplate = require("marko/runtime/helper-loadTemplate"),
|
|
target_template = marko_loadTemplate(require.resolve("./target.marko")),
|
|
marko_helpers = require("marko/runtime/html/helpers"),
|
|
marko_loadTag = marko_helpers.t,
|
|
include_tag = marko_loadTag(require("marko/taglibs/core/include-tag"));
|
|
|
|
function render(input, out) {
|
|
var data = input;
|
|
|
|
include_tag({
|
|
_target: target_template
|
|
}, out);
|
|
}
|
|
|
|
marko_template._ = render;
|
|
|
|
marko_template.meta = {
|
|
tags: [
|
|
"./target.marko",
|
|
"marko/taglibs/core/include-tag"
|
|
]
|
|
};
|