elm-twitch/src/Main.elm

18 lines
394 B
Elm
Raw Normal View History

2020-10-03 18:44:16 +02:00
module Main exposing (main)
import Browser
import Core
import Views
2020-10-04 20:20:16 +02:00
main : Program { width : Int, height : Int } 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
2020-10-04 20:20:16 +02:00
, subscriptions = Core.subscriptions
2020-10-04 16:02:54 +02:00
, onUrlChange = Core.UrlReceived
, onUrlRequest = \_ -> Core.Noop
2020-10-03 18:44:16 +02:00
}