Hi everyone! I'm playing with 0.13 and elm-reactor and stumbled on a problem combining debugging and ports for JS interop.
This works:
Elm.fullscreen (Elm.Main, {myPort: ...});
and this works:
Elm.debugFullscreen (Elm.Main, "Main.elm");
But this doesn't:
Elm.debugFullscreen (Elm.Main, "Main.elm", {myPort: ...});
The signature of debugFullscreen is actually:
function (module, moduleFile, hotSwapState)
So how do I tell Elm.debugFullscreen about my input ports?
Is there another way? Do I miss something?
Thanks!
Thomas