Skip to content

Commit

Permalink
Update surreal.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gnat authored Feb 26, 2024
1 parent 0c62ce1 commit 2bf0302
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions surreal.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Welcome to Surreal 1.1.6
// Welcome to Surreal 1.1.7
// Documentation: https://github.com/gnat/surreal
// Locality of Behavior (LoB): https://htmx.org/essays/locality-of-behaviour/
let surreal = (function () {
Expand Down Expand Up @@ -33,7 +33,7 @@ let $ = { // Convenience for internals.
e.disable = () => { return $.disable(e) }
e.enable = () => { return $.enable(e) }
e.send = (name, detail) => { return $.send(e, name, detail) }
e.trigger = send
e.trigger = e.send
e.halt = (ev, keepBubbling, keepDefault) => { return $.halt(ev, keepBubbling, keepDefault) }

// Attributes.
Expand Down

0 comments on commit 2bf0302

Please sign in to comment.