Accept flags in initialization.
This commit is contained in:
parent
74d844b60f
commit
e56560bcce
2
Go.elm
2
Go.elm
|
@ -46,4 +46,4 @@ subscriptions : Model -> Sub Msg
|
||||||
subscriptions m =
|
subscriptions m =
|
||||||
WebSocket.listen m.sessionUrl Update
|
WebSocket.listen m.sessionUrl Update
|
||||||
|
|
||||||
main = Html.program { init = initDummy, update = update, subscriptions = subscriptions, view = view }
|
main = Html.programWithFlags { init = init, update = update, subscriptions = subscriptions, view = view }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user