elm-twitch/src/Main.elm

19 lines
402 B
Elm
Raw Normal View History

2020-10-03 18:44:16 +02:00
module Main exposing (main)
import Browser
import Core
import Json.Decode as Decode
import Views
2020-10-04 13:15:57 +02:00
main : Program Decode.Value Core.FullModel Core.Msg
2020-10-03 18:44:16 +02:00
main =
Browser.application
{ init = Core.init
2020-10-04 13:15:57 +02:00
, update = Core.update
2020-10-03 18:44:16 +02:00
, view = Views.view
, subscriptions = \_ -> Sub.none
2020-10-04 16:02:54 +02:00
, onUrlChange = Core.UrlReceived
, onUrlRequest = \_ -> Core.Noop
2020-10-03 18:44:16 +02:00
}