aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/solid-dom-fixtures/insertChildren/output.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-06-22 23:21:48 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-06-22 23:21:48 -0700
commit729d445b6885f69dd2c6355f38707bd42851c791 (patch)
treef87a7c408929ea3f57bbb7ace380cf869da83c0e /test/bun.js/solid-dom-fixtures/insertChildren/output.js
parent25f820c6bf1d8ec6d444ef579cc036b8c0607b75 (diff)
downloadbun-729d445b6885f69dd2c6355f38707bd42851c791.tar.gz
bun-729d445b6885f69dd2c6355f38707bd42851c791.tar.zst
bun-729d445b6885f69dd2c6355f38707bd42851c791.zip
change the directory structurejarred/rename
Diffstat (limited to 'test/bun.js/solid-dom-fixtures/insertChildren/output.js')
-rw-r--r--test/bun.js/solid-dom-fixtures/insertChildren/output.js185
1 files changed, 185 insertions, 0 deletions
diff --git a/test/bun.js/solid-dom-fixtures/insertChildren/output.js b/test/bun.js/solid-dom-fixtures/insertChildren/output.js
new file mode 100644
index 000000000..9ad937742
--- /dev/null
+++ b/test/bun.js/solid-dom-fixtures/insertChildren/output.js
@@ -0,0 +1,185 @@
+import { template as _$template } from "r-dom";
+import { mergeProps as _$mergeProps } from "r-dom";
+import { spread as _$spread } from "r-dom";
+import { insert as _$insert } from "r-dom";
+import { createComponent as _$createComponent } from "r-dom";
+
+const _tmpl$ = /*#__PURE__*/ _$template(`<div></div>`, 2),
+ _tmpl$2 = /*#__PURE__*/ _$template(`<module></module>`, 2),
+ _tmpl$3 = /*#__PURE__*/ _$template(`<module>Hello</module>`, 2),
+ _tmpl$4 = /*#__PURE__*/ _$template(`<module>Hi </module>`, 2),
+ _tmpl$5 = /*#__PURE__*/ _$template(`<div>Test 1</div>`, 2);
+
+const children = _tmpl$.cloneNode(true);
+
+const dynamic = {
+ children,
+};
+
+const template = _$createComponent(Module, {
+ children: children,
+});
+
+const template2 = (() => {
+ const _el$2 = _tmpl$2.cloneNode(true);
+
+ _$insert(_el$2, children);
+
+ return _el$2;
+})();
+
+const template3 = _tmpl$3.cloneNode(true);
+
+const template4 = (() => {
+ const _el$4 = _tmpl$2.cloneNode(true);
+
+ _$insert(_el$4, _$createComponent(Hello, {}));
+
+ return _el$4;
+})();
+
+const template5 = (() => {
+ const _el$5 = _tmpl$2.cloneNode(true);
+
+ _$insert(_el$5, () => dynamic.children);
+
+ return _el$5;
+})();
+
+const template6 = _$createComponent(Module, {
+ get children() {
+ return dynamic.children;
+ },
+});
+
+const template7 = (() => {
+ const _el$6 = _tmpl$2.cloneNode(true);
+
+ _$spread(_el$6, dynamic, false, false);
+
+ return _el$6;
+})();
+
+const template8 = (() => {
+ const _el$7 = _tmpl$3.cloneNode(true);
+
+ _$spread(_el$7, dynamic, false, true);
+
+ return _el$7;
+})();
+
+const template9 = (() => {
+ const _el$8 = _tmpl$2.cloneNode(true);
+
+ _$spread(_el$8, dynamic, false, true);
+
+ _$insert(_el$8, () => dynamic.children);
+
+ return _el$8;
+})();
+
+const template10 = _$createComponent(
+ Module,
+ _$mergeProps(dynamic, {
+ children: "Hello",
+ })
+);
+
+const template11 = (() => {
+ const _el$9 = _tmpl$2.cloneNode(true);
+
+ _$insert(_el$9, state.children);
+
+ return _el$9;
+})();
+
+const template12 = _$createComponent(Module, {
+ children: state.children,
+});
+
+const template13 = (() => {
+ const _el$10 = _tmpl$2.cloneNode(true);
+
+ _$insert(_el$10, children);
+
+ return _el$10;
+})();
+
+const template14 = _$createComponent(Module, {
+ children: children,
+});
+
+const template15 = (() => {
+ const _el$11 = _tmpl$2.cloneNode(true);
+
+ _$insert(_el$11, () => dynamic.children);
+
+ return _el$11;
+})();
+
+const template16 = _$createComponent(Module, {
+ get children() {
+ return dynamic.children;
+ },
+});
+
+const template18 = (() => {
+ const _el$12 = _tmpl$4.cloneNode(true);
+
+ _$insert(_el$12, children, null);
+
+ return _el$12;
+})();
+
+const template19 = _$createComponent(Module, {
+ get children() {
+ return ["Hi ", children];
+ },
+});
+
+const template20 = (() => {
+ const _el$13 = _tmpl$2.cloneNode(true);
+
+ _$insert(_el$13, children);
+
+ return _el$13;
+})();
+
+const template21 = _$createComponent(Module, {
+ get children() {
+ return children();
+ },
+});
+
+const template22 = (() => {
+ const _el$14 = _tmpl$2.cloneNode(true);
+
+ _$insert(_el$14, () => state.children());
+
+ return _el$14;
+})();
+
+const template23 = _$createComponent(Module, {
+ get children() {
+ return state.children();
+ },
+});
+
+const tiles = [];
+tiles.push(_tmpl$5.cloneNode(true));
+
+const template24 = (() => {
+ const _el$16 = _tmpl$.cloneNode(true);
+
+ _$insert(_el$16, tiles);
+
+ return _el$16;
+})();
+
+const comma = (() => {
+ const _el$17 = _tmpl$.cloneNode(true);
+
+ _$insert(_el$17, () => (expression(), "static"));
+
+ return _el$17;
+})();