🎨 elm-format

This commit is contained in:
Richard Feldman
2018-02-22 17:00:38 -05:00
parent 40c66a8a10
commit c8c89adc63
60 changed files with 4253 additions and 124 deletions

View File

@@ -4,9 +4,9 @@ module Main exposing (..)
have everything set up properly.
-}
import Auth
import Html exposing (..)
import Html.Attributes exposing (..)
import Auth
import Http
import Json.Decode exposing (Decoder)
@@ -37,9 +37,9 @@ searchFeed =
url =
"https://api.github.com/search/repositories?q=test&access_token=" ++ Auth.token
in
Json.Decode.succeed ()
|> Http.get url
|> Http.send Response
Json.Decode.succeed ()
|> Http.get url
|> Http.send Response
view : Model -> Html Msg
@@ -90,8 +90,8 @@ update msg model =
_ ->
"GitHub's Search API returned an error: "
++ (toString status.code)
++ toString status.code
++ " "
++ status.message
in
( { status = status }, Cmd.none )
( { status = status }, Cmd.none )