blob: d15813d0591e59b08686c91dbd6570f40e297296 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
module Main exposing
( main
)
import Navigation
import Time
import Msg
import Model exposing (init)
import Update exposing (update, urlUpdate)
import View exposing (view)
import Page
main =
Navigation.programWithFlags (Navigation.makeParser Page.fromHash)
{ init = init
, view = view
, update = update
, urlUpdate = urlUpdate
, subscriptions = \_ -> Time.every 1000 Msg.UpdateTime
}
|