diff --git a/ruby_event_store-browser/elm/src/Page/Debug.elm b/ruby_event_store-browser/elm/src/Page/Debug.elm index 016d8e4926..c5cf926cdc 100644 --- a/ruby_event_store-browser/elm/src/Page/Debug.elm +++ b/ruby_event_store-browser/elm/src/Page/Debug.elm @@ -1,17 +1,21 @@ module Page.Debug exposing (..) -import Html exposing (..) import Flags exposing (Flags) +import Html exposing (..) + + +type alias Model = + { resVersion : String, repositoryAdapter : String } -type alias Model = { resVersion : String, repositoryAdapter : String } init : Flags -> Model -init flags = - { resVersion = flags.resVersion, repositoryAdapter = flags.repositoryAdapter } +init flags = + { resVersion = flags.resVersion, repositoryAdapter = flags.repositoryAdapter } + -view: Model -> Html a +view : Model -> Html a view model = - div [] [ - p [] [text ("RubyEventStore version: " ++ model.resVersion)], - p [] [text ("RubyEventStore adapter: " ++ model.repositoryAdapter)] - ] + div [] + [ p [] [ text ("RubyEventStore version: " ++ model.resVersion) ] + , p [] [ text ("RubyEventStore adapter: " ++ model.repositoryAdapter) ] + ]