Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/main/scala/org/scalajs/dom/raw/lib.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1114,6 +1114,7 @@ class Node extends EventTarget {
* MDN
*/
def lookupNamespaceURI(prefix: String): String = js.native

/**
* Clone a Node, and optionally, all of its contents. By default, it clones the content
* of the node.
Expand All @@ -1136,13 +1137,14 @@ class Node extends EventTarget {
* MDN
*/
def replaceChild(newChild: Node, oldChild: Node): Node = js.native

/**
* Inserts the first Node given in a parameter immediately before the second, child of
* this element, Node.
*
* MDN
*/
def insertBefore(newChild: Node, refChild: Node = js.native): Node = js.native
def insertBefore(newChild: Node, refChild: Node): Node = js.native
}


Expand Down