Explorar o código

jQuery is no longer new

Andy Li %!s(int64=10) %!d(string=hai) anos
pai
achega
67f02dd675
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      std/js/JQuery.hx

+ 1 - 0
std/js/JQuery.hx

@@ -85,6 +85,7 @@ extern class JQuery implements ArrayAccess<Element> {
 	var context(default,null) : Element;
 	var length(default, null) : Int;
 
+	@:selfCall
 	@:overload(function(j:JQuery):Void{})
 	@:overload(function(j:Window):Void{})
 	@:overload(function(j:Element):Void{})