mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
15 lines
515 B
JavaScript
15 lines
515 B
JavaScript
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(data, out) {
|
|
include_tag({
|
|
_target: target_template
|
|
}, out);
|
|
}
|
|
|
|
marko_template._ = render;
|