فهرست منبع

- 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;