-
Notifications
You must be signed in to change notification settings - Fork 641
/
expected.js
46 lines (39 loc) · 1.39 KB
/
expected.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
"use strict";
var marko_template = module.exports = require("marko/src/vdom").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-vdom/boundary-el-if/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("ee4c02"),
marko_node0 = marko_createElement("H1", null, "0", null, 0, 0, {
i: marko_const_nextId()
}),
marko_node1 = marko_createElement("SPAN", null, "1", null, 0, 0, {
i: marko_const_nextId()
});
function render(input, out, __component, component, state) {
var data = input;
out.n(marko_node0, component);
if (input.someCondition) {
out.n(marko_node1, component);
}
}
marko_template._ = marko_renderer(render, {
___type: marko_componentType
}, marko_component);
marko_template.Component = marko_defineComponent(marko_component, marko_template._);
marko_template.meta = {
deps: [
{
type: "require",
path: "./"
}
]
};