From 1f06679a739ba0be3b6b91c10bfd762a06c9573a Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Sun, 10 May 2015 13:06:08 +0200 Subject: Migrationg to Elm 0.15 --- src/View/View.elm | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/View/View.elm') 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 -- cgit v1.2.3