Skip to content

Commit

Permalink
Merge pull request #154 from adlrwbr/fix-make-events-jsdoc
Browse files Browse the repository at this point in the history
return proxy in js __makeEvents__
  • Loading branch information
oscartbeaumont authored Jan 19, 2025
2 parents 5cd56fe + c6d1285 commit 89b7abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lang/globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function __makeEvents__(mappings) {
get: (_, event) => {
const name = mappings[event];

new Proxy(() => {}, {
return new Proxy(() => {}, {
apply: (_, __, [window]) => ({
listen: (arg) => window.listen(name, arg),
once: (arg) => window.once(name, arg),
Expand Down

0 comments on commit 89b7abe

Please sign in to comment.