diff options
author | Joris Guyonvarch | 2015-07-21 23:25:58 +0200 |
---|---|---|
committer | Joris Guyonvarch | 2015-07-21 23:25:58 +0200 |
commit | 2a53fe50c62d4b7aec0f422998c743f68aa523c1 (patch) | |
tree | ad32464c99668b477c4006146ec218c947bc9c8f /src/client/Model.elm | |
parent | a271d6034bc4cc631a64476d25d21c83a701fa39 (diff) |
Adding the payment without reloading the page
Diffstat (limited to 'src/client/Model.elm')
-rw-r--r-- | src/client/Model.elm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/client/Model.elm b/src/client/Model.elm index 8005429..45fdf87 100644 --- a/src/client/Model.elm +++ b/src/client/Model.elm @@ -3,13 +3,17 @@ module Model , initialModel ) where +import Time exposing (Time) + import Model.View exposing (..) type alias Model = { view : View + , currentTime : Time } -initialModel : Model -initialModel = +initialModel : Time -> Model +initialModel initialTime = { view = LoadingView + , currentTime = initialTime } |