Accept flags in initialization.

This commit is contained in:
Danila Fedorin 2018-05-25 12:25:14 -07:00
parent 74d844b60f
commit e56560bcce

2
Go.elm
View File

@ -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 }