1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-19 10:37:01 +00:00

ui: Reformat with elm-format 0.8.1

This commit is contained in:
James Hillyerd
2018-11-13 22:06:19 -08:00
parent ecd0c124d4
commit b67d5ba376
15 changed files with 48 additions and 26 deletions

View File

@@ -12,6 +12,7 @@ import Svg.Attributes as SvgAttrib
import Time exposing (Time)
-- MODEL --
@@ -381,6 +382,7 @@ zeroPadList numbers =
in
if needed > 0 then
List.repeat needed 0 ++ numbers
else
numbers
@@ -394,6 +396,7 @@ fmtInt n =
thousands str =
if String.length str <= 3 then
str
else
thousands (String.slice 0 -3 str) ++ "," ++ String.right 3 str
in