mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
37 lines
963 B
JavaScript
37 lines
963 B
JavaScript
"use strict";
|
|
|
|
var marko_template = module.exports = require("marko/html").t(__filename),
|
|
marko_components = require("marko/components"),
|
|
marko_registerComponent = marko_components.rc,
|
|
marko_componentType = marko_registerComponent("/marko-test$1.0.0/autotests/components-compilation/index-widget-only/component-browser", function() {
|
|
return require("./component-browser");
|
|
}),
|
|
marko_helpers = require("marko/runtime/html/helpers"),
|
|
marko_attr = marko_helpers.a;
|
|
|
|
function render(input, out, __component, component, state) {
|
|
var data = input;
|
|
|
|
out.w("<div" +
|
|
marko_attr("id", __component.id) +
|
|
"></div>");
|
|
}
|
|
|
|
marko_template._ = marko_components.r(render, {
|
|
split: true,
|
|
type: marko_componentType
|
|
});
|
|
|
|
marko_template.meta = {
|
|
deps: [
|
|
{
|
|
type: "require",
|
|
path: "./component-browser"
|
|
},
|
|
{
|
|
type: "require",
|
|
path: "marko/components"
|
|
}
|
|
]
|
|
};
|