🎨 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

@@ -1,10 +1,10 @@
port module ElmHub exposing (..)
import Auth
import Html exposing (..)
import Html.Attributes exposing (class, target, href, defaultValue, type_, checked, placeholder, value)
import Html.Attributes exposing (checked, class, defaultValue, href, placeholder, target, type_, value)
import Html.Events exposing (..)
import Html.Lazy exposing (lazy, lazy3)
import Auth
import Json.Decode exposing (Decoder)
import Json.Decode.Pipeline exposing (..)
import String
@@ -155,7 +155,7 @@ update msg model =
newModel =
{ model | results = newResults }
in
( newModel, Cmd.none )
( newModel, Cmd.none )
SetTableState tableState ->
( { model | tableState = tableState }, Cmd.none )
@@ -309,7 +309,7 @@ getQueryString model =
++ "+in:"
++ model.options.searchIn
++ "+stars:>="
++ (toString model.options.minStars)
++ toString model.options.minStars
++ "+language:elm"
++ (if String.isEmpty model.options.userFilter then
""

View File

@@ -28,7 +28,7 @@ css =
-- .hide-result:hover {
-- color: rgb(96, 181, 204);
-- }
((.) "content")
(.) "content"
[ width (px 960)
, margin2 zero auto
, padding (px 30)

View File

@@ -17,7 +17,7 @@ main : Program Never Model Msg
main =
Html.program
{ init = ( (), files cssFiles )
, view = \_ -> (div [] [])
, view = \_ -> div [] []
, update = \_ _ -> ( (), Cmd.none )
, subscriptions = \_ -> Sub.none
}