Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
TomiS committed Apr 14, 2020
1 parent 995a05a commit a1f0618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Webapi/Webapi__Dom/Webapi__Dom__BeforeUnloadEvent.re
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ include Webapi__Dom__Event.Impl({ type nonrec t = t; });
[@bs.get] external returnValue : t => string = "";
/**
* returnValue cannot be unset because BS cannot (afaik) bind `delete e['returnValue'];`
* Setting the value to undefined does not either.
* Setting the value to undefined does not cause expected behavior.
*/
[@bs.set] external setReturnValue: (t, string) => unit = "returnValue";

0 comments on commit a1f0618

Please sign in to comment.