mirror of
https://github.com/correl/elm-mdl.git
synced 2024-12-18 03:00:11 +00:00
Cleans up commented code
This commit is contained in:
parent
903091e625
commit
3fbdadfe88
1 changed files with 0 additions and 3 deletions
|
@ -98,10 +98,7 @@ Note that if you do specify `style`, `class`, or `classList` attributes in
|
||||||
styled : (List Attribute -> a) -> List Style -> List Attribute -> a
|
styled : (List Attribute -> a) -> List Style -> List Attribute -> a
|
||||||
styled ctor styles attrs =
|
styled ctor styles attrs =
|
||||||
let
|
let
|
||||||
-- multipleStyles = (List.filterMap multipleOf styles)
|
|
||||||
-- could need some help on how to proceed here
|
|
||||||
flatStyles = List.foldl flatten [] styles
|
flatStyles = List.foldl flatten [] styles
|
||||||
-- (List.filterMap multipleOf styles)
|
|
||||||
styleAttrs = (List.filterMap attrOf flatStyles)
|
styleAttrs = (List.filterMap attrOf flatStyles)
|
||||||
|> List.map (\attrib -> Html.Attributes.attribute (fst attrib) ( snd attrib))
|
|> List.map (\attrib -> Html.Attributes.attribute (fst attrib) ( snd attrib))
|
||||||
in
|
in
|
||||||
|
|
Loading…
Reference in a new issue