From a1f06184d427f0941cb7fce4286bb68204c4b10c Mon Sep 17 00:00:00 2001 From: Tomi Saarinen Date: Tue, 14 Apr 2020 21:20:54 +0300 Subject: [PATCH] fix comment --- src/Webapi/Webapi__Dom/Webapi__Dom__BeforeUnloadEvent.re | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Webapi/Webapi__Dom/Webapi__Dom__BeforeUnloadEvent.re b/src/Webapi/Webapi__Dom/Webapi__Dom__BeforeUnloadEvent.re index 4a3cb243..eb879bf2 100644 --- a/src/Webapi/Webapi__Dom/Webapi__Dom__BeforeUnloadEvent.re +++ b/src/Webapi/Webapi__Dom/Webapi__Dom__BeforeUnloadEvent.re @@ -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";