Franco Ponticelli 12 years ago
parent
commit
c7a89195a3
1 changed files with 3 additions and 1 deletions
  1. 3 1
      std/js/JQuery.hx

+ 3 - 1
std/js/JQuery.hx

@@ -274,7 +274,9 @@ extern class JQuery implements ArrayAccess<Element> {
 	function focus( ?callb : JqEvent -> Void ) : JQuery;
 	function focus( ?callb : JqEvent -> Void ) : JQuery;
 	function focusin( ?callb : JqEvent -> Void ) : JQuery;
 	function focusin( ?callb : JqEvent -> Void ) : JQuery;
 	function focusout( ?callb : JqEvent -> Void ) : JQuery;
 	function focusout( ?callb : JqEvent -> Void ) : JQuery;
-	function hover( onOver : JqEvent -> Void, ?onOut : Void -> Void ) : JQuery;
+
+	@:overload(function(onInOut:JqEvent->Void):JQuery{})
+	function hover( onIn : JqEvent -> Void, ?onOut : JqEvent -> Void ) : JQuery;
 
 
 	@:overload(function( callb : JQuery.JqEvent -> Bool ) : JQuery {})
 	@:overload(function( callb : JQuery.JqEvent -> Bool ) : JQuery {})
 	function keydown( ?callb : JqEvent -> Void ) : JQuery;
 	function keydown( ?callb : JqEvent -> Void ) : JQuery;