Update terminology

This commit is contained in:
Richard Feldman
2016-09-07 04:50:07 -05:00
parent a1e8ebfb71
commit 0d9c68b006

View File

@@ -85,7 +85,7 @@ viewSearchResult result =
, a [ href ("https://github.com/" ++ result.name), target "_blank" ] , a [ href ("https://github.com/" ++ result.name), target "_blank" ]
[ text result.name ] [ text result.name ]
, button , button
-- TODO add an onClick handler that sends a DeleteById action -- TODO add an onClick handler that sends a DeleteById msg
[ class "hide-result" ] [ class "hide-result" ]
[ text "X" ] [ text "X" ]
] ]
@@ -93,8 +93,8 @@ viewSearchResult result =
update : Msg -> Model -> Model update : Msg -> Model -> Model
update msg model = update msg model =
-- TODO if we get a SetQuery action, use it to set the model's query field, -- TODO if we get a SetQuery msg, use it to set the model's query field,
-- and if we get a DeleteById action, delete the appropriate result -- and if we get a DeleteById msg, delete the appropriate result
model model