Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/03-form.elm
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ view model =
]


viewValidation : Model -> Html msg
viewValidation : Model -> Html Msg
viewValidation model =
let
(color, message) =
Expand Down
2 changes: 1 addition & 1 deletion examples/07-websockets.elm
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ view model =
]


viewMessage : String -> Html msg
viewMessage : String -> Html Msg
viewMessage msg =
div [] [ text msg ]
2 changes: 1 addition & 1 deletion examples/08-checkboxes.elm
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ view model =
]


checkbox : msg -> String -> Html msg
checkbox : Msg -> String -> Html Msg
checkbox msg name =
label
[ style [("padding", "20px")]
Expand Down
4 changes: 2 additions & 2 deletions examples/09-radio.elm
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ view model =
]


radio : String -> msg -> Html msg
radio : String -> Msg -> Html Msg
radio value msg =
label
[ style [("padding", "20px")]
Expand All @@ -88,7 +88,7 @@ radio value msg =
]


sizeToStyle : FontSize -> Attribute msg
sizeToStyle : FontSize -> Attribute Msg
sizeToStyle fontSize =
let
size =
Expand Down