Skip to content

Commit

Permalink
fix scratch dom node
Browse files Browse the repository at this point in the history
  • Loading branch information
xificurC committed Apr 10, 2024
1 parent af7d84a commit 9008b11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scratch/peter/y2024/dom3_event_handling.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

(defmacro listen
([typ] `(listen ~typ identity))
([typ f] `(listen node ~typ ~f))
([typ f] `(listen dom/node ~typ ~f))
([nd typ f] `(listen ~nd ~typ ~f nil))
([nd typ f opts] `(e/input (listen1 ~nd ~typ ~f ~opts))))

Expand All @@ -47,7 +47,7 @@

(defmacro event-log
([typ] `(event-log ~typ identity))
([typ f] `(event-log node ~typ ~f))
([typ f] `(event-log dom/node ~typ ~f))
([nd typ f] `(event-log ~nd ~typ ~f nil))
([nd typ f opts] `(e/input (event-log* ~nd ~typ ~f ~opts))))

Expand Down

0 comments on commit 9008b11

Please sign in to comment.