aboutsummaryrefslogtreecommitdiff
path: root/src/Model/Timer.elm
diff options
context:
space:
mode:
authorJoris2016-09-04 21:21:11 +0200
committerJoris2016-09-04 21:21:31 +0200
commit973a039b54327df74396605410ea9abe19c8a4e7 (patch)
treec702564d17e0a490d56845027238eb4f231be785 /src/Model/Timer.elm
parent62fee9133f36f655c1ed83e0c2e85394f9948bf5 (diff)
Upgrade to elm 0.17.1
Diffstat (limited to 'src/Model/Timer.elm')
-rw-r--r--src/Model/Timer.elm27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/Model/Timer.elm b/src/Model/Timer.elm
deleted file mode 100644
index 51d293d..0000000
--- a/src/Model/Timer.elm
+++ /dev/null
@@ -1,27 +0,0 @@
-module Model.Timer
- ( Timer
- , initialTimer
- ) where
-
-import List
-import Time exposing (Time)
-
-import Model.TimerState exposing (..)
-
-type alias Timer =
- { creationTime : Time
- , name : Maybe String
- , initialTime : Time
- , currentTime : Time
- , state : TimerState
- }
-
-initialTimer : Time -> Timer
-initialTimer creationTime =
- let initialTime = 5 * 60 * 1000
- in { creationTime = creationTime
- , name = Nothing
- , initialTime = initialTime
- , currentTime = initialTime
- , state = Idle
- }