diff options
author | Joris Guyonvarch | 2015-05-10 13:06:08 +0200 |
---|---|---|
committer | Joris Guyonvarch | 2015-05-10 13:06:08 +0200 |
commit | 1f06679a739ba0be3b6b91c10bfd762a06c9573a (patch) | |
tree | 060353b47ddb4e2ad1f366015d70a0d712149c23 /src/View/View.elm | |
parent | cf26834c717043685866b47eb95bcd8d1299a78b (diff) |
Migrationg to Elm 0.15
Diffstat (limited to 'src/View/View.elm')
-rw-r--r-- | src/View/View.elm | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/View/View.elm b/src/View/View.elm index 0500610..b3d1dcc 100644 --- a/src/View/View.elm +++ b/src/View/View.elm @@ -2,21 +2,21 @@ module View.View ( view ) where -import Html (..) -import Html.Attributes (..) -import Html.Events (..) +import Html exposing (..) +import Html.Attributes exposing (..) +import Html.Events exposing (..) import Signal import List import Dict import Json.Decode as Json -import Model.Model (..) -import Model.Timer (..) -import Model.Id (..) +import Model.Model exposing (..) +import Model.Timer exposing (..) +import Model.Id exposing (..) -import Update.Update (..) +import Update.Update exposing (..) -import View.Timer (timerView) +import View.Timer exposing (timerView) view : Model -> Html view model = @@ -35,12 +35,12 @@ title = div [ class "headerBar" ] [ button - [ onClick (Signal.send updates Initialize) + [ onClick actions.address Initialize , class "title" ] [ text "Timer" ] , button - [ onClick (Signal.send updates AddNewTimer) + [ onClick actions.address AddNewTimer , class "addTimer" ] [ i |