From cc693542fbc75e9443633fa7fa3d5c12325f6583 Mon Sep 17 00:00:00 2001 From: Simon Morris <99881147+simon-peek-poke@users.noreply.github.com> Date: Mon, 16 Oct 2023 12:50:19 +0100 Subject: [PATCH] DOMElement insertAdjacentElement should not be pure. (#11333) --- std/js/html/DOMElement.hx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/std/js/html/DOMElement.hx b/std/js/html/DOMElement.hx index fee60e98271..844b4519be0 100644 --- a/std/js/html/DOMElement.hx +++ b/std/js/html/DOMElement.hx @@ -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; /** @@ -550,4 +549,4 @@ extern class DOMElement extends Node { /** @throws DOMError */ @:overload( function( nodes : haxe.extern.Rest) : Void {} ) function append( nodes : haxe.extern.Rest ) : Void; -} \ No newline at end of file +}