Files
elm-0.19-workshop/part9/Main.elm
Richard Feldman 9878f5d993 Reorganize part9
2016-09-06 20:21:14 -07:00

15 lines
330 B
Elm

module Main exposing (..)
import ElmHub exposing (..)
import Html.App as Html
main : Program Never
main =
Html.program
{ view = view
, update = update
, init = ( initialModel, githubSearch (getQueryString initialModel.query) )
, subscriptions = \_ -> githubResponse decodeResponse
}