🎨 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

@@ -2,7 +2,7 @@ module Main exposing (..)
import Auth
import Html exposing (..)
import Html.Attributes exposing (class, target, href, property, defaultValue)
import Html.Attributes exposing (class, defaultValue, href, property, target)
import Html.Events exposing (..)
import Http
import Json.Decode exposing (Decoder)
@@ -33,11 +33,11 @@ searchFeed query =
request =
"TODO replace this String with a Request built using http://package.elm-lang.org/packages/elm-lang/http/latest/Http#get"
in
-- TODO replace this Cmd.none with a call to Http.send
-- http://package.elm-lang.org/packages/elm-lang/http/latest/Http#send
--
-- HINT: request and HandleSearchResponse may be useful here.
Cmd.none
-- TODO replace this Cmd.none with a call to Http.send
-- http://package.elm-lang.org/packages/elm-lang/http/latest/Http#send
--
-- HINT: request and HandleSearchResponse may be useful here.
Cmd.none
responseDecoder : Decoder (List SearchResult)
@@ -153,4 +153,4 @@ update msg model =
newModel =
{ model | results = newResults }
in
( newModel, Cmd.none )
( newModel, Cmd.none )