Skip to content

Commit

Permalink
DOMElement insertAdjacentElement should not be pure. (HaxeFoundation#…
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-peek-poke authored and 0b1kn00b committed Jan 25, 2024
1 parent d493fce commit cc69354
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions std/js/html/DOMElement.hx
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,6 @@ extern class DOMElement extends Node {
Inserts a given element node at a given position relative to the element it is invoked upon.
@throws DOMError
**/
@:pure
function insertAdjacentElement( where : String, element : Element ) : Element;

/**
Expand Down Expand Up @@ -550,4 +549,4 @@ extern class DOMElement extends Node {
/** @throws DOMError */
@:overload( function( nodes : haxe.extern.Rest<String>) : Void {} )
function append( nodes : haxe.extern.Rest<Node> ) : Void;
}
}

0 comments on commit cc69354

Please sign in to comment.