Browse Source

[jQuery] Make functions that return EitherType to return Dynamic instead.
https://github.com/HaxeFoundation/haxe/issues/4528#issuecomment-139213995

Andy Li 10 years ago
parent
commit
207cd58997
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/js/jquery/JQuery.hx

+ 1 - 1
std/js/jquery/JQuery.hx

@@ -987,7 +987,7 @@ package js.jquery;
 	**/
 	@:overload(function(value:haxe.extern.EitherType<Float, haxe.extern.EitherType<Array<String>, String>>):js.jquery.JQuery { })
 	@:overload(function(_function:Int -> String -> String):js.jquery.JQuery { })
-	public function val():haxe.extern.EitherType<Float, haxe.extern.EitherType<Array<Dynamic>, String>>;
+	public function val():Dynamic;
 	/**
 		Set the CSS width of each element in the set of matched elements.
 		OR