From 0d9c68b006b99da0b85be3524660c48b9e7da034 Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Wed, 7 Sep 2016 04:50:07 -0500 Subject: [PATCH] Update terminology --- part5/Main.elm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/part5/Main.elm b/part5/Main.elm index 47b2fb3..1aeef54 100644 --- a/part5/Main.elm +++ b/part5/Main.elm @@ -85,7 +85,7 @@ viewSearchResult result = , a [ href ("https://github.com/" ++ result.name), target "_blank" ] [ text result.name ] , button - -- TODO add an onClick handler that sends a DeleteById action + -- TODO add an onClick handler that sends a DeleteById msg [ class "hide-result" ] [ text "X" ] ] @@ -93,8 +93,8 @@ viewSearchResult result = update : Msg -> Model -> Model update msg model = - -- TODO if we get a SetQuery action, use it to set the model's query field, - -- and if we get a DeleteById action, delete the appropriate result + -- TODO if we get a SetQuery msg, use it to set the model's query field, + -- and if we get a DeleteById msg, delete the appropriate result model