Browse Source

added getElementsByTagName

Nicolas Cannasse 18 years ago
parent
commit
34908cf2bc
1 changed files with 2 additions and 1 deletions
  1. 2 1
      std/js/Dom.hx

+ 2 - 1
std/js/Dom.hx

@@ -50,7 +50,6 @@ typedef MetaDom<T> = {
 	function replaceChild( child : T, oldChild : T ) : Void;
 	function replaceChild( child : T, oldChild : T ) : Void;
 	function getAttribute( attr : String ) : String;
 	function getAttribute( attr : String ) : String;
 	function setAttribute( attr : String, val : String ) : Void;
 	function setAttribute( attr : String, val : String ) : Void;
-
 }
 }
 
 
 typedef Dom = MetaDom<Dom>
 typedef Dom = MetaDom<Dom>
@@ -65,6 +64,8 @@ typedef HtmlDom = {> MetaDom<HtmlDom>,
 
 
 	var style : Style;
 	var style : Style;
 
 
+	function getElementsByTagName() : HtmlCollection<HtmlDom>;
+
 	#if w3c
 	#if w3c
 	#else true
 	#else true
 	var onscroll : Event -> Void;
 	var onscroll : Event -> Void;