Ver código fonte

DOMElement insertAdjacentElement should not be pure. (#11333)

Simon Morris 1 ano atrás
pai
commit
c8113b8ee8
1 arquivos alterados com 1 adições e 2 exclusões
  1. 1 2
      std/js/html/DOMElement.hx

+ 1 - 2
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.
 		Inserts a given element node at a given position relative to the element it is invoked upon.
 		@throws DOMError
 		@throws DOMError
 	**/
 	**/
-	@:pure
 	function insertAdjacentElement( where : String, element : Element ) : Element;
 	function insertAdjacentElement( where : String, element : Element ) : Element;
 	
 	
 	/**
 	/**
@@ -550,4 +549,4 @@ extern class DOMElement extends Node {
 	/** @throws DOMError */
 	/** @throws DOMError */
 	@:overload( function( nodes : haxe.extern.Rest<String>) : Void {} )
 	@:overload( function( nodes : haxe.extern.Rest<String>) : Void {} )
 	function append( nodes : haxe.extern.Rest<Node> ) : Void;
 	function append( nodes : haxe.extern.Rest<Node> ) : Void;
-}
+}