sporto / elm-tutorial

A guide to building web applications using Elm 0.18
396 stars 117 forks source link

Tutorial code does not yet reflect a change to View.elm #123

Closed BryanJBryce closed 7 years ago

BryanJBryce commented 7 years ago

Pull request #122 0.18 collapsed Html.App into Html so Html.App.map became Html.map.

This change is reflected in the code repo but not two places in the tutorial text for View.elm

page : Model -> Html Msg
page model =
    case model.route of
        PlayersRoute ->
            Html.App.map PlayersMsg (Players.List.view model.players)

        PlayerRoute id ->
            playerEditPage model id

        NotFoundRoute ->
            notFoundView
sporto commented 7 years ago

I made a global search and fixed several instances of Html.App still hanging around. Thanks for letting me know.