@@ -11,8 +11,6 @@ integration.
11# JavaScript from Elm
11# JavaScript from Elm
12@docs fromString, fromInt, fromFloat, fromBool fromList
12@docs fromString, fromInt, fromFloat, fromBool fromList
16# DOM Nodes and Elements
14# DOM Nodes and Elements
17@docs toElement, fromElement
15@docs toElement, fromElement
@@ -27,7 +25,7 @@ data JSArray a = JSArray a
27data JSDomNode = JSDomNode
25data JSDomNode = JSDomNode
28data JSObject = JSObject
26data JSObject = JSObject
30−-- Requires that the input array be uniform (all members have the same type)
28+{-| Requires that the input array be uniform (all members have the same type) -}
31toList : JSArray a -> [a]
29toList : JSArray a -> [a]
32toList = Native.JavaScript.toList
30toList = Native.JavaScript.toList
@@ -44,7 +42,7 @@ toString : JSString -> String
44toString = Native.JavaScript.toString
42toString = Native.JavaScript.toString
47−-- Produces a uniform JavaScript array with all members of the same type.
45+{-| Produces a uniform JavaScript array with all members of the same type. -}
48fromList : [a] -> JSArray a
46fromList : [a] -> JSArray a
49fromList = Native.JavaScript.fromList
47fromList = Native.JavaScript.fromList
@@ -60,7 +58,6 @@ fromBool = Native.JavaScript.fromBool
60fromString : String -> JSString
58fromString : String -> JSString
61fromString = Native.JavaScript.fromString
59fromString = Native.JavaScript.fromString
64{-| Turn an `Element` into a DOM node. -}
61{-| Turn an `Element` into a DOM node. -}
65fromElement : Element -> JSDomNode
62fromElement : Element -> JSDomNode
66fromElement = Native.JavaScript.fromElement
63fromElement = Native.JavaScript.fromElement
@@ -69,4 +66,3 @@ fromElement = Native.JavaScript.fromElement
69using the normal `width` and `height` functions. -}
66using the normal `width` and `height` functions. -}
70toElement : Int -> Int -> JSDomNode -> Element
67toElement : Int -> Int -> JSDomNode -> Element
71toElement = Native.JavaScript.toElement
68toElement = Native.JavaScript.toElement