Skip to content

Commit

Permalink
DOMElement insertAdjacentElement should not be pure. (#11333)
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-peek-poke authored and kLabz committed Nov 14, 2023
1 parent fd8412b commit c8113b8
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 c8113b8

Please sign in to comment.