Browse Source

fixed issue #370

Nicolas Cannasse 14 năm trước cách đây
mục cha
commit
cf12733434
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 length(default, null) : Int;
 
-	function new( queryOrHtml : String, ?context : JQuery ) : Void;
+	@:multitype function new( ?html : String, ?j : JQuery, ?h : Dom.HtmlDom ) : Void;
 
 	// attributes
 	function addClass( className : String ) : JQuery;