mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-30 13:16:08 +03:00
Remove unused function.
This commit is contained in:
parent
c2a6ff6be6
commit
6fca68acbb
@ -7,7 +7,6 @@ module Pages.StaticHttp exposing
|
||||
, map2, map3, map4, map5, map6, map7, map8, map9
|
||||
, unoptimizedRequest
|
||||
, Expect, expectString, expectUnoptimizedJson
|
||||
, jsonFile
|
||||
)
|
||||
|
||||
{-| StaticHttp requests are an alternative to doing Elm HTTP requests the traditional way using the `elm/http` package.
|
||||
@ -462,21 +461,6 @@ get url decoder =
|
||||
decoder
|
||||
|
||||
|
||||
jsonFile : String -> Decoder a -> Request a
|
||||
jsonFile filename decoder =
|
||||
--"""{"stargazer_count":86}"""
|
||||
request
|
||||
(Secrets.succeed
|
||||
-- TODO wrap in new variant
|
||||
{ url = "file://" ++ filename
|
||||
, method = "GET"
|
||||
, headers = []
|
||||
, body = emptyBody
|
||||
}
|
||||
)
|
||||
decoder
|
||||
|
||||
|
||||
{-| The full details to perform a StaticHttp request.
|
||||
-}
|
||||
type alias RequestDetails =
|
||||
|
Loading…
Reference in New Issue
Block a user