File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ exports.insertBefore = function (node1) {
130
130
return function ( node2 ) {
131
131
return function ( parent ) {
132
132
return function ( ) {
133
- return parent . insertBefore ( node1 , node2 ) ;
133
+ parent . insertBefore ( node1 , node2 ) ;
134
134
} ;
135
135
} ;
136
136
} ;
@@ -139,7 +139,7 @@ exports.insertBefore = function (node1) {
139
139
exports . appendChild = function ( node ) {
140
140
return function ( parent ) {
141
141
return function ( ) {
142
- return parent . appendChild ( node ) ;
142
+ parent . appendChild ( node ) ;
143
143
} ;
144
144
} ;
145
145
} ;
@@ -148,7 +148,7 @@ exports.replaceChild = function (newChild) {
148
148
return function ( oldChild ) {
149
149
return function ( parent ) {
150
150
return function ( ) {
151
- return parent . replaceChild ( newChild , oldChild ) ;
151
+ parent . replaceChild ( newChild , oldChild ) ;
152
152
} ;
153
153
} ;
154
154
} ;
@@ -157,7 +157,7 @@ exports.replaceChild = function (newChild) {
157
157
exports . removeChild = function ( node ) {
158
158
return function ( parent ) {
159
159
return function ( ) {
160
- return parent . removeChild ( node ) ;
160
+ parent . removeChild ( node ) ;
161
161
} ;
162
162
} ;
163
163
} ;
Original file line number Diff line number Diff line change @@ -176,14 +176,14 @@ foreign import _lookupNamespaceURI :: String -> Node -> Effect (Nullable String)
176
176
foreign import isDefaultNamespace :: String -> Node -> Effect Boolean
177
177
178
178
-- | Inserts the first node before the second as a child of the third node.
179
- foreign import insertBefore :: Node -> Node -> Node -> Effect Node
179
+ foreign import insertBefore :: Node -> Node -> Node -> Effect Unit
180
180
181
181
-- | Appends the first node to the child node list of the second node.
182
- foreign import appendChild :: Node -> Node -> Effect Node
182
+ foreign import appendChild :: Node -> Node -> Effect Unit
183
183
184
184
-- | Uses the first node as a replacement for the second node in the children
185
185
-- | of the third node.
186
- foreign import replaceChild :: Node -> Node -> Node -> Effect Node
186
+ foreign import replaceChild :: Node -> Node -> Node -> Effect Unit
187
187
188
188
-- | Removes the first node from the children of the second node.
189
- foreign import removeChild :: Node -> Node -> Effect Node
189
+ foreign import removeChild :: Node -> Node -> Effect Unit
You can’t perform that action at this time.
0 commit comments