Skip to content

Commit

Permalink
fix: remove setOnMessage on Window
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Fettes committed Aug 5, 2024
1 parent d8de7f7 commit 2f8a255
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Webapi/Dom/Webapi__Dom__Window.re
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ module Impl = (T: {
"removeEventListener";

[@mel.set] external setOnLoad: (t_window, unit => unit) => unit = "onload"; /* use addEventListener instead? */
[@mel.set] external setOnMessage: (t_window, Dom.messageEvent => unit) => unit = "onmessage";
};

type t = Dom.window;
Expand Down

0 comments on commit 2f8a255

Please sign in to comment.