Skip to content

Commit dd95987

Browse files
committed
Text: Remove replaceWholeText() which is deprecated
Closes scala-js#79
1 parent e9adca6 commit dd95987

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/main/scala/org/scalajs/dom/lib.scala

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4590,16 +4590,6 @@ class Text extends CharacterData {
45904590
* MDN
45914591
*/
45924592
def splitText(offset: Int): Text = js.native
4593-
4594-
/**
4595-
* The Text.replaceWholeText() method replaces the text of the node and all of its
4596-
* logically adjacent text nodes with the specified text. The replaced nodes are
4597-
* removed, including the current node, unless it was the recipient of the
4598-
* replacement text.
4599-
*
4600-
* MDN
4601-
*/
4602-
def replaceWholeText(content: String): Text = js.native
46034593
}
46044594

46054595

0 commit comments

Comments
 (0)