on master help sign in
Switch back to hiding the DOM node conversions
commitfca5094c53d67b762dac92faaaa22ac80c2b63e5 authorEvan Czaplicki <info@elm-lang.org> dateTue 10 Sep 2013, 18:47 (13 years ago) parent4ca3dba
1 file changed+4−1
libraries/JavaScript.elm+4−1
libraries/JavaScript.elm+4−1
@@ -10,7 +10,8 @@ integration.
1010
1111# JavaScript from Elm
1212@docs fromString, fromInt, fromFloat, fromBool fromList
13−
13+-}
14+{-
1415# DOM Nodes and Elements
1516@docs toElement, fromElement
1617-}
@@ -58,6 +59,7 @@ fromBool = Native.JavaScript.fromBool
5859fromString : String -> JSString
5960fromString = Native.JavaScript.fromString
6061
62+{-
6163{-| Turn an `Element` into a DOM node. -}
6264fromElement : Element -> JSDomNode
6365fromElement = Native.JavaScript.fromElement
@@ -66,3 +68,4 @@ fromElement = Native.JavaScript.fromElement
6668using the normal `width` and `height` functions. -}
6769toElement : Int -> Int -> JSDomNode -> Element
6870toElement = Native.JavaScript.toElement
71+-}