Skip to content

Commit

Permalink
[jQuery] clean up EitherType
Browse files Browse the repository at this point in the history
 * use Dynamic if one of the types is Dynamic
 * avoid duplicated types (e.g. EitherType<A, A>)
 * sort the types
  • Loading branch information
andyli committed Sep 8, 2015
1 parent ba8cb26 commit f4ffedc
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 53 deletions.
2 changes: 1 addition & 1 deletion std/js/jquery/Deferred.hx
Expand Up @@ -34,7 +34,7 @@ package js.jquery;
/**
Add handlers to be called when the Deferred object generates progress notifications.
**/
public function progress(progressCallbacks:haxe.extern.EitherType<haxe.extern.EitherType<haxe.Constraints.Function, Array<haxe.Constraints.Function>>, Array<Dynamic>>, ?progressCallbacks:haxe.extern.EitherType<haxe.extern.EitherType<haxe.Constraints.Function, Array<haxe.Constraints.Function>>, Array<Dynamic>>):js.jquery.Deferred;
public function progress(progressCallbacks:haxe.extern.EitherType<haxe.Constraints.Function, haxe.extern.EitherType<Array<Dynamic>, Array<haxe.Constraints.Function>>>, ?progressCallbacks:haxe.extern.EitherType<haxe.Constraints.Function, haxe.extern.EitherType<Array<Dynamic>, Array<haxe.Constraints.Function>>>):js.jquery.Deferred;
/**
Return a Deferred's Promise object.
**/
Expand Down

0 comments on commit f4ffedc

Please sign in to comment.