mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
* refactor out taglib loader/finder/lookup * add comments for taglib apis that we need to deprecate * move components into runtime/core-tags
25 lines
785 B
JavaScript
25 lines
785 B
JavaScript
"use strict";
|
|
|
|
var marko_template = module.exports = require("marko/src/html").t(__filename),
|
|
marko_componentType = "/marko-test$1.0.0/compiler/fixtures-html/replaceWith/template.marko",
|
|
components_helpers = require("marko/src/runtime/components/helpers"),
|
|
marko_renderer = components_helpers.r,
|
|
marko_defineComponent = components_helpers.c;
|
|
|
|
function render(input, out, __component, component, state) {
|
|
var data = input;
|
|
|
|
out.w("<div replaced=\"test-replaceWith\"></div>");
|
|
}
|
|
|
|
marko_template._ = marko_renderer(render, {
|
|
___implicit: true,
|
|
___type: marko_componentType
|
|
});
|
|
|
|
marko_template.Component = marko_defineComponent({}, marko_template._);
|
|
|
|
marko_template.meta = {
|
|
id: "/marko-test$1.0.0/compiler/fixtures-html/replaceWith/template.marko"
|
|
};
|