Browse Source

fixed issue #370

Nicolas Cannasse 14 years ago
parent
commit
cf12733434
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/js/JQuery.hx

+ 1 - 1
std/js/JQuery.hx

@@ -33,7 +33,7 @@ extern class JQuery implements ArrayAccess<JQuery> {
 	var context(default,null) : Dom.HtmlDom;
 	var context(default,null) : Dom.HtmlDom;
 	var length(default, null) : Int;
 	var length(default, null) : Int;
 
 
-	function new( queryOrHtml : String, ?context : JQuery ) : Void;
+	@:multitype function new( ?html : String, ?j : JQuery, ?h : Dom.HtmlDom ) : Void;
 
 
 	// attributes
 	// attributes
 	function addClass( className : String ) : JQuery;
 	function addClass( className : String ) : JQuery;