sdeleuze
10/11/2017, 3:10 PMwindow.onload
and eventSource.onmessage
have the same `((Event) -> dynamic)?`declaration, so I don't understand why I can use window.onload
without a problem and not eventSource.onmessage
.bashor
10/11/2017, 3:22 PMsdeleuze
10/11/2017, 3:28 PMeventSource.addEventListener("onmessage", onMessage)
as a workaroundsdeleuze
10/11/2017, 4:25 PMsdeleuze
10/11/2017, 4:52 PMbashor
10/11/2017, 5:47 PMsdeleuze
10/11/2017, 5:49 PM