From e56560bccea5d321e6afec83f0e702478b5270e1 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Fri, 25 May 2018 12:25:14 -0700 Subject: [PATCH] Accept flags in initialization. --- Go.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Go.elm b/Go.elm index 3642b19..71bea75 100644 --- a/Go.elm +++ b/Go.elm @@ -46,4 +46,4 @@ subscriptions : Model -> Sub Msg subscriptions m = 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 }