Преглед изворни кода

- removeChild returns the removed item

Franco Ponticelli пре 16 година
родитељ
комит
b49c1a9a79
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      std/js/Dom.hx

+ 1 - 1
std/js/Dom.hx

@@ -46,7 +46,7 @@ typedef MetaDom<T> = {
 	function cloneNode( deep : Bool ) : T;
 	function hasChildNodes() : Bool;
 	function insertBefore( newChild : T, refChild : T ) : Void;
-	function removeChild( child : T ) : Void;
+	function removeChild( child : T ) : T;
 	function replaceChild( child : T, oldChild : T ) : Void;
 	function getAttribute( attr : String ) : String;
 	function setAttribute( attr : String, val : String ) : Void;