2017-02-09 14:34:55 -08:00

38 lines
987 B
JavaScript

var marko_template = module.exports = require("marko/html").t(__filename),
marko_widgets = require("marko/widgets"),
marko_registerWidget = marko_widgets.rw,
marko_widgetType = marko_registerWidget("/marko-test$1.0.0/autotests/widgets-compilation/component-inline-export-default/index.marko", function() {
return module.exports;
}),
marko_helpers = require("marko/runtime/html/helpers"),
marko_attr = marko_helpers.a;
var marko_component = {};
function render(input, out, widget, state) {
var data = input;
out.w("<div" +
marko_attr("id", widget.id) +
"></div>");
}
marko_template._ = marko_widgets.r(render, {
type: marko_widgetType
}, marko_component);
marko_template.Widget = marko_widgets.w(marko_component, marko_template._);
marko_template.meta = {
deps: [
{
type: "require",
path: "./index.marko"
},
{
type: "require",
path: "marko/widgets"
}
]
};