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/vdom").t(__filename),
marko_component = {},
components_helpers = require("marko/src/runtime/components/helpers"),
marko_registerComponent = components_helpers.rc,
marko_componentType = marko_registerComponent("/marko-test$1.0.0/components-compilation/fixtures-vdom/boundary-single-root-html-el/index.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("d3d7a8"),
marko_node0 = marko_createElement("div", null, "0", null, 0, 0, {
i: marko_const_nextId()
});
function render(input, out, __component, component, state) {
var data = input;
"use strict";
var marko_template = module.exports = require("marko/src/vdom").t(__filename),
marko_component = {},
components_helpers = require("marko/src/runtime/components/helpers"),
marko_registerComponent = components_helpers.rc,
marko_componentType = marko_registerComponent("/marko-test$1.0.0/components-compilation/fixtures-vdom/component-with-import-static/index.marko", function() {
return module.exports;
}),
marko_renderer = components_helpers.r,
marko_defineComponent = components_helpers.c,
module_chai_module = require("chai"),
chai_module = module_chai_module.default || module_chai_module,
expect = module_chai_module.expect;
var counter = 0;
function render(input, out, __component, component, state) {
var data = input;
out.e("div", null, "0", component, 1)
.t(counter++);
"use strict";
var marko_template = module.exports = require("marko/src/vdom").t(__filename),
marko_component = {},
components_helpers = require("marko/src/runtime/components/helpers"),
marko_registerComponent = components_helpers.rc,
marko_componentType = marko_registerComponent("/marko-test$1.0.0/components-compilation/fixtures-vdom/boundary-no-output-tag-el/index.marko", function() {
return module.exports;
}),
marko_renderer = components_helpers.r,
marko_defineComponent = components_helpers.c,
marko_helpers = require("marko/src/runtime/vdom/helpers"),
marko_loadTag = marko_helpers.t,
test_no_output_tag = marko_loadTag(require("./components/test-no-output/renderer")),
marko_createElement = marko_helpers.e,
marko_const = marko_helpers.const,
marko_const_nextId = marko_const("de2191"),
marko_node0 = marko_createElement("div", null, "0", null, 0, 0, {
i: marko_const_nextId()
});
function render(input, out, __component, component, state) {
"use strict";
var marko_template = module.exports = require("marko/src/vdom").t(),
components_helpers = require("marko/src/runtime/components/helpers"),
marko_registerComponent = components_helpers.rc,
marko_componentType = marko_registerComponent("/marko-test$1.0.0/api-compiler/fixtures/compileFileForBrowser-callback.js/template.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.t("Hello ");
out.t(data.name);
out.t("!");
}
"use strict";
var marko_template = module.exports = require("marko/src/vdom").t(),
components_helpers = require("marko/src/runtime/components/helpers"),
marko_registerComponent = components_helpers.rc,
marko_componentType = marko_registerComponent("/marko-test$1.0.0/vdom-compiler/fixtures/attrs-dynamic-object-literal/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_attrs = marko_helpers.as;
function render(input, out, __component, component, state) {
var data = input;
out.e("div", marko_attrs({
foo: "bar",
hello: "world"
}), null, null, 3)
.t("Hello ")
"use strict";
var marko_template = module.exports = require("marko/src/vdom").t(),
components_helpers = require("marko/src/runtime/components/helpers"),
marko_registerComponent = components_helpers.rc,
marko_componentType = marko_registerComponent("/marko-test$1.0.0/api-compiler/fixtures/compileForBrowser-callback.js/template.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.t("Hello ");
out.t(data.name);
out.t("!");
}
"use strict";
var marko_template = module.exports = require("marko/src/vdom").t(),
components_helpers = require("marko/src/runtime/components/helpers"),
marko_registerComponent = components_helpers.rc,
marko_componentType = marko_registerComponent("/marko-test$1.0.0/vdom-compiler/fixtures/doctype/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("a51026"),
marko_node0 = marko_createElement("div", null, null, null, 0, 0, {
i: marko_const_nextId()
});
function render(input, out, __component, component, state) {
var data = input;
var marko_template = module.exports = require("marko/src/vdom").t(),
components_helpers = require("marko/src/runtime/components/helpers"),
marko_registerComponent = components_helpers.rc,
marko_componentType = marko_registerComponent("/marko-test$1.0.0/compiler/fixtures-vdom/macro-in-loop/template.marko", function() {
return module.exports;
}),
marko_renderer = components_helpers.r,
marko_defineComponent = components_helpers.c,
marko_forRange = require("marko/src/runtime/helper-forRange"),
marko_helpers = require("marko/src/runtime/vdom/helpers"),
marko_forEach = marko_helpers.f,
marko_dynamicTag = marko_helpers.d;
function render(input, out, __component, component, state) {
var data = input;
var $for$0 = 0;
marko_forRange(0, 10, null, function(i) {
"use strict";
var marko_template = module.exports = require("marko/src/vdom").t(__filename),
marko_component = {},
components_helpers = require("marko/src/runtime/components/helpers"),
marko_registerComponent = components_helpers.rc,
marko_componentType = marko_registerComponent("/marko-test$1.0.0/components-compilation/fixtures-vdom/boundary-el-no-output-tag/index.marko", function() {
return module.exports;
}),
marko_renderer = components_helpers.r,
marko_defineComponent = components_helpers.c,
marko_helpers = require("marko/src/runtime/vdom/helpers"),
marko_loadTag = marko_helpers.t,
test_no_output_tag = marko_loadTag(require("./components/test-no-output/renderer")),
marko_createElement = marko_helpers.e,
marko_const = marko_helpers.const,
marko_const_nextId = marko_const("4529ef"),
marko_node0 = marko_createElement("div", null, "0", null, 0, 0, {
i: marko_const_nextId()
});
function render(input, out, __component, component, state) {
"use strict";
var marko_template = module.exports = require("marko/src/vdom").t(),
components_helpers = require("marko/src/runtime/components/helpers"),
marko_registerComponent = components_helpers.rc,
marko_componentType = marko_registerComponent("/marko-test$1.0.0/compiler/fixtures-vdom/svg-title/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("a0adc5"),
marko_node0 = marko_createElement("svg", {
width: "140",
height: "30"
}, "0", null, 1, 0, {
i: marko_const_nextId()
})
.e("g", null, null, null, 1)