mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2025-01-06 05:34:48 +03:00
Remove unused code.
This commit is contained in:
parent
e03e4d254f
commit
2e8e9754d1
@ -39,8 +39,7 @@ function parseMarkdown(path, fileContents) {
|
||||
return {
|
||||
path,
|
||||
metadata: JSON.stringify(data),
|
||||
body: content,
|
||||
extension: "md"
|
||||
body: content
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -58,7 +58,5 @@ function parseMarkdown(path, fileContents) {
|
||||
path,
|
||||
metadata: JSON.stringify(data),
|
||||
body: content,
|
||||
// TODO fix this
|
||||
extension: "md"
|
||||
};
|
||||
}
|
@ -779,10 +779,6 @@ application config =
|
||||
_ ->
|
||||
case decodeValue |> Decode.decodeValue (Decode.field "contentJson" contentJsonDecoder) of
|
||||
Ok contentJson ->
|
||||
let
|
||||
_ =
|
||||
Debug.log "HotReloadComplete" ""
|
||||
in
|
||||
AppMsg (HotReloadComplete contentJson)
|
||||
|
||||
Err error ->
|
||||
|
Loading…
Reference in New Issue
Block a user