aboutsummaryrefslogtreecommitdiff
path: root/integration/bunjs-only-snippets/solid-dom-fixtures/eventExpressions/code.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 /integration/bunjs-only-snippets/solid-dom-fixtures/eventExpressions/code.js
parent25f820c6bf1d8ec6d444ef579cc036b8c0607b75 (diff)
downloadbun-jarred/rename.tar.gz
bun-jarred/rename.tar.zst
bun-jarred/rename.zip
change the directory structurejarred/rename
Diffstat (limited to 'integration/bunjs-only-snippets/solid-dom-fixtures/eventExpressions/code.js')
-rw-r--r--integration/bunjs-only-snippets/solid-dom-fixtures/eventExpressions/code.js32
1 files changed, 0 insertions, 32 deletions
diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/eventExpressions/code.js b/integration/bunjs-only-snippets/solid-dom-fixtures/eventExpressions/code.js
deleted file mode 100644
index 78bc5e199..000000000
--- a/integration/bunjs-only-snippets/solid-dom-fixtures/eventExpressions/code.js
+++ /dev/null
@@ -1,32 +0,0 @@
-function hoisted1() {
- console.log("hoisted");
-}
-const hoisted2 = () => console.log("hoisted delegated");
-
-const template = (
- <div id="main">
- <button onchange={() => console.log("bound")}>Change Bound</button>
- <button onChange={[(id) => console.log("bound", id), id]}>
- Change Bound
- </button>
- <button onchange={handler}>Change Bound</button>
- <button onchange={[handler]}>Change Bound</button>
- <button onchange={hoisted1}>Change Bound</button>
- <button onclick={() => console.log("delegated")}>Click Delegated</button>
- <button onClick={[(id) => console.log("delegated", id), rowId]}>
- Click Delegated
- </button>
- <button onClick={handler}>Click Delegated</button>
- <button onClick={[handler]}>Click Delegated</button>
- <button onClick={hoisted2}>Click Delegated</button>
- <button
- on:click={() => console.log("listener")}
- on:CAPS-ev={() => console.log("custom")}
- >
- Click Listener
- </button>
- <button oncapture:camelClick={() => console.log("listener")}>
- Click Capture
- </button>
- </div>
-);