Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// Compiled using marko@4.12.5 - DO NOT EDIT
"use strict";
var marko_template = module.exports = require("marko/src/html").t(__filename),
marko_componentType = "/node-server-with-typescript$1.0.0/views/layout.marko",
components_helpers = require("marko/src/components/helpers"),
marko_renderer = components_helpers.r,
marko_defineComponent = components_helpers.c,
marko_helpers = require("marko/src/runtime/html/helpers"),
marko_loadTag = marko_helpers.t,
lasso_page_tag = marko_loadTag(require("@lasso/marko-taglib/taglib/config-tag")),
marko_escapeXml = marko_helpers.x,
lasso_head_tag = marko_loadTag(require("@lasso/marko-taglib/taglib/head-tag")),
component_globals_tag = marko_loadTag(require("marko/src/components/taglib/component-globals-tag")),
include_tag = marko_loadTag(require("marko/src/taglibs/core/include-tag")),
lasso_body_tag = marko_loadTag(require("@lasso/marko-taglib/taglib/body-tag")),
browser_refresh_tag = marko_loadTag(require("browser-refresh-taglib/refresh-tag")),
init_components_tag = marko_loadTag(require("marko/src/components/taglib/init-components-tag")),
await_reorderer_tag = marko_loadTag(require("marko/src/taglibs/async/await-reorderer-tag"));
"use strict";
var marko_template = module.exports = require("marko/src/html").t(__filename),
marko_componentType = "/marko-test$1.0.0/compiler/fixtures-html/custom-tag/template.marko",
components_helpers = require("marko/src/runtime/components/helpers"),
marko_renderer = components_helpers.r,
marko_defineComponent = components_helpers.c,
marko_helpers = require("marko/src/runtime/html/helpers"),
marko_loadTag = marko_helpers.t,
test_hello_tag = marko_loadTag(require("./tags/test-hello/renderer"));
function render(input, out, __component, component, state) {
var data = input;
test_hello_tag({
name: "World"
}, out, __component, "0");
}
"use strict";
var marko_template = module.exports = require("marko/src/html").t(__filename),
marko_componentType = "/marko-test$1.0.0/components-compilation/fixtures-html-deprecated/component-include-attr/index",
marko_component = require("./"),
legacy_helpers = require("marko/src/runtime/components/legacy/helpers"),
marko_rendererLegacy = legacy_helpers.r,
marko_helpers = require("marko/src/runtime/html/helpers"),
marko_dynamicTag = marko_helpers.d,
marko_escapeXml = marko_helpers.x,
marko_attr = marko_helpers.a;
function render(input, out, __component, widget, component) {
var data = input;
out.w("<div data-widget="\"/marko-test$1.0.0/components-compilation/fixtures-html-deprecated/component-include-attr/index\"""><h1>Header</h1><div>");
</div></div>
"use strict";
var marko_template = module.exports = require("marko/src/html").t(__filename),
marko_component = {},
marko_componentType = "/marko-test$1.0.0/components-compilation/fixtures-html/child-tag-no-output/index.marko",
components_helpers = require("marko/src/runtime/components/helpers"),
marko_renderer = components_helpers.r,
marko_defineComponent = components_helpers.c,
marko_helpers = require("marko/src/runtime/html/helpers"),
marko_loadTag = marko_helpers.t,
test_no_output_tag = marko_loadTag(require("./components/test-no-output/renderer")),
marko_escapeXml = marko_helpers.x;
function render(input, out, __component, component, state) {
var data = input;
test_no_output_tag({}, out);
out.w("<div>" +</div>
"use strict";
var marko_template = module.exports = require("marko/src/html").t(__filename),
marko_componentType = "/marko-test$1.0.0/compiler/fixtures-html/macros/template.marko",
components_helpers = require("marko/src/runtime/components/helpers"),
marko_renderer = components_helpers.r,
marko_defineComponent = components_helpers.c,
marko_helpers = require("marko/src/runtime/html/helpers"),
marko_escapeXml = marko_helpers.x,
marko_forEach = marko_helpers.f,
marko_dynamicTag = marko_helpers.d;
function render(input, out, __component, component, state) {
var data = input;
function macro_renderTree(out, macroInput) {
var node = macroInput.node;
out.w(" Name: " +
"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/index-non-component/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,
"use strict";
var marko_template = module.exports = require("marko/src/html").t(__filename),
foo = "Hello World";
function render(input, out) {
var data = input;
out.w("<div></div>");
}
marko_template._ = render;
marko_template.meta = {};
"use strict";
var marko_template = module.exports = require("marko/src/html").t(__filename),
marko_component = {},
marko_componentType = "/marko-test$1.0.0/components-compilation/fixtures-html/child-tag-no-output-multiple-roots/index.marko",
components_helpers = require("marko/src/runtime/components/helpers"),
marko_renderer = components_helpers.r,
marko_defineComponent = components_helpers.c,
marko_helpers = require("marko/src/runtime/html/helpers"),
marko_loadTag = marko_helpers.t,
test_no_output_tag = marko_loadTag(require("./components/test-no-output/renderer")),
marko_escapeXml = marko_helpers.x;
function render(input, out, __component, component, state) {
var data = input;
test_no_output_tag({}, out);
out.w("<div>" +</div>
"use strict";
var marko_template = module.exports = require("marko/src/html").t(__filename),
marko_componentType = "/marko-test$1.0.0/compiler/fixtures-html-deprecated/async-fragment-error/template.marko",
components_helpers = require("marko/src/runtime/components/helpers"),
marko_renderer = components_helpers.r,
marko_defineComponent = components_helpers.c,
marko_helpers = require("marko/src/runtime/html/helpers"),
marko_loadTag = marko_helpers.t,
await_tag = marko_loadTag(require("marko/src/core-tags/core/await/renderer"));
function render(input, out, __component, component, state) {
var data = input;
await_tag({
_provider: data.userInfo,
_name: "data.userInfo",
then: {
renderBody: function(out, userInfo) {
"use strict";
var marko_template = module.exports = require("marko/src/html").t(__filename),
marko_component = {
onMount: function() {}
},
components_helpers = require("marko/src/components/helpers"),
marko_registerComponent = components_helpers.rc,
marko_componentType = marko_registerComponent("/marko-test$1.0.0/autotests/components-compilation/key/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_loadTemplate = require("marko/src/runtime/helper-loadTemplate"),
app_foo_template = marko_loadTemplate(require.resolve("./components/app-foo")),
marko_helpers = require("marko/src/runtime/html/helpers"),
marko_loadTag = marko_helpers.t,
app_foo_tag = marko_loadTag(app_foo_template),