Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
"use strict";
var marko_template = module.exports = require("marko/src/html").t(__filename),
components_helpers = require("marko/src/components/helpers"),
marko_registerComponent = components_helpers.rc,
marko_componentType = marko_registerComponent("/marko-test$1.0.0/autotests/components-compilation/bind-component/index.marko", function() {
return module.exports;
}),
marko_component = require("./component"),
marko_renderer = components_helpers.r,
marko_defineComponent = components_helpers.c;
function render(input, out, __component, component, state) {
var data = input;
out.w("<div></div>");
}
marko_template._ = marko_renderer(render, {
___type: marko_componentType
}, marko_component);
marko_template.Component = marko_defineComponent(marko_component, marko_template._);
marko_template.meta = {
deps: [
"use strict";
var marko_template = module.exports = require("marko/src/html").t(__filename),
components_helpers = require("marko/src/components/helpers"),
marko_registerComponent = components_helpers.rc,
marko_componentType = marko_registerComponent("/marko-test$1.0.0/autotests/compiler/importModule/template.marko", function() {
return module.exports;
}),
marko_renderer = components_helpers.r,
marko_defineComponent = components_helpers.c,
foo = require("./foo");
function render(input, out, __component, component, state) {
var data = input;
foo();
}
marko_template._ = marko_renderer(render, {
___implicit: true,
___type: marko_componentType
});
marko_template.Component = marko_defineComponent({}, marko_template._);
"use strict";
var marko_template = module.exports = require("marko/src/html").t(__filename),
components_helpers = require("marko/src/components/helpers"),
marko_registerComponent = components_helpers.rc,
marko_componentType = marko_registerComponent("/marko-test$1.0.0/autotests/components-compilation/style-inline-css/index.marko", function() {
return module.exports;
}),
marko_renderer = components_helpers.r,
marko_defineComponent = components_helpers.c;
function render(input, out, __component, component, state) {
var data = input;
out.w("<div></div>");
}
marko_template._ = marko_renderer(render, {
___implicit: true,
___type: marko_componentType
});
marko_template.Component = marko_defineComponent({}, marko_template._);
marko_template.meta = {
"use strict";
var marko_template = module.exports = require("marko/src/vdom").t(),
components_helpers = require("marko/src/components/helpers"),
marko_registerComponent = components_helpers.rc,
marko_componentType = marko_registerComponent("/marko-test$1.0.0/autotests/vdom-compiler/static-element-root/template.marko", function() {
return module.exports;
}),
marko_renderer = components_helpers.r,
marko_defineComponent = components_helpers.c,
marko_helpers = require("marko/src/runtime/vdom/helpers"),
marko_createElement = marko_helpers.e,
marko_const = marko_helpers.const,
marko_const_nextId = marko_const("0524f9"),
marko_node0 = marko_createElement("DIV", {
"class": "hello",
onclick: "onClick()"
}, null, null, 1, 0, {
i: marko_const_nextId()
})
.t("Hello World!");
function render(input, out, __component, component, state) {
var data = input;
"use strict";
var marko_template = module.exports = require("marko/src/html").t(__filename),
components_helpers = require("marko/src/components/helpers"),
marko_registerComponent = components_helpers.rc,
marko_componentType = marko_registerComponent("/marko-test$1.0.0/autotests/components-compilation/auto-key-els-renderBody/index.marko", function() {
return module.exports;
}),
marko_component = require("./component"),
marko_renderer = components_helpers.r,
marko_defineComponent = components_helpers.c,
marko_keyAttr = require("marko/src/components/taglib/helpers/markoKeyAttr"),
marko_helpers = require("marko/src/runtime/html/helpers"),
marko_attr = marko_helpers.a,
marko_loadTemplate = require("marko/src/runtime/helper-loadTemplate"),
another_component_template = marko_loadTemplate(require.resolve("./components/another-component")),
marko_loadTag = marko_helpers.t,
another_component_tag = marko_loadTag(another_component_template);
function render(input, out, __component, component, state) {
var data = input;
out.w("<div>A");
</div>
"use strict";
var marko_template = module.exports = require("marko/src/html").t(__filename),
marko_component = {},
components_helpers = require("marko/src/components/helpers"),
marko_registerComponent = components_helpers.rc,
marko_componentType = marko_registerComponent("/marko-test$1.0.0/autotests/components-compilation/boundary-multi-root-html-els-ids-static/index.marko", function() {
return module.exports;
}),
marko_renderer = components_helpers.r,
marko_defineComponent = components_helpers.c;
function render(input, out, __component, component, state) {
var data = input;
out.w("<h1 id="\"myStart\""></h1><div id="\"myEnd\""></div>");
}
marko_template._ = marko_renderer(render, {
___type: marko_componentType
}, marko_component);
marko_template.Component = marko_defineComponent(marko_component, marko_template._);
marko_template.meta = {
deps: [
"use strict";
var marko_template = module.exports = require("marko/src/vdom").t(),
components_helpers = require("marko/src/components/helpers"),
marko_registerComponent = components_helpers.rc,
marko_componentType = marko_registerComponent("/marko-test$1.0.0/autotests/vdom-compiler/static-element-nested/template.marko", function() {
return module.exports;
}),
marko_renderer = components_helpers.r,
marko_defineComponent = components_helpers.c,
marko_helpers = require("marko/src/runtime/vdom/helpers"),
marko_createElement = marko_helpers.e,
marko_const = marko_helpers.const,
marko_const_nextId = marko_const("6d8f0e"),
marko_node0 = marko_createElement("DIV", {
"class": "hello",
onclick: "onClick()"
}, null, null, 1, 0, {
i: marko_const_nextId()
})
.t("Welcome!");
function render(input, out, __component, component, state) {
var data = input;
"use strict";
var marko_template = module.exports = require("marko/src/html").t(__filename),
marko_component = {},
components_helpers = require("marko/src/components/helpers"),
marko_registerComponent = components_helpers.rc,
marko_componentType = marko_registerComponent("/marko-test$1.0.0/autotests/components-compilation/boundary-multi-root-html-els-keys-dynamic/index.marko", function() {
return module.exports;
}),
marko_renderer = components_helpers.r,
marko_defineComponent = components_helpers.c,
marko_keyAttr = require("marko/src/components/taglib/helpers/markoKeyAttr"),
marko_helpers = require("marko/src/runtime/html/helpers"),
marko_attr = marko_helpers.a;
function render(input, out, __component, component, state) {
var data = input;
out.w("");
}
marko_template._ = marko_renderer(render, {
"use strict";
var marko_template = module.exports = require("marko/src/html").t(__filename),
components_helpers = require("marko/src/components/helpers"),
marko_registerComponent = components_helpers.rc,
marko_componentType = marko_registerComponent("/marko-test$1.0.0/autotests/components-compilation/component-template-entry/index.marko", function() {
return module.exports;
}),
marko_component = require("./component"),
marko_renderer = components_helpers.r,
marko_defineComponent = components_helpers.c;
function render(input, out, __component, component, state) {
var data = input;
out.w("<div></div>");
}
marko_template._ = marko_renderer(render, {
___type: marko_componentType
}, marko_component);
marko_template.Component = marko_defineComponent(marko_component, marko_template._);
marko_template.meta = {
deps: [
"use strict";
var marko_template = module.exports = require("marko/src/html").t(__filename),
components_helpers = require("marko/src/components/helpers"),
marko_registerComponent = components_helpers.rc,
marko_componentType = marko_registerComponent("/marko-test$1.0.0/autotests/compiler/at-tags-dynamic/template.marko", function() {
return module.exports;
}),
marko_renderer = components_helpers.r,
marko_defineComponent = components_helpers.c,
marko_helpers = require("marko/src/runtime/html/helpers"),
marko_forEach = marko_helpers.f,
hasRenderBodyKey = Symbol.for("hasRenderBody"),
marko_loadNestedTag = require("marko/src/runtime/helper-loadNestedTag"),
hello_foo_nested_tag = marko_loadNestedTag("foo"),
marko_mergeNestedTagsHelper = require("marko/src/runtime/helper-mergeNestedTags"),
marko_loadTemplate = require("marko/src/runtime/helper-loadTemplate"),
hello_template = marko_loadTemplate(require.resolve("./components/hello")),
marko_loadTag = marko_helpers.t,
hello_tag = marko_loadTag(hello_template);
function render(input, out, __component, component, state) {
var data = input;
hello_tag(marko_mergeNestedTagsHelper({