aboutsummaryrefslogtreecommitdiff
path: root/src/View/View.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/View/View.elm')
-rw-r--r--src/View/View.elm20
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