Skip to content
Permalink
Browse files
We have too many unctions in this function.
  • Loading branch information
jaubourg committed Oct 2, 2011
1 parent 9f5d56a commit 3e0fe5ea3b1dafe454039c7c12c4d5d5fa037c9f
Showing 1 changed file with 1 addition and 1 deletion.
@@ -251,7 +251,7 @@ test( "jQuery.ajax - multiple method signatures introduced in 1.5 ( #8107)", fun
jQuery.ajax("data/name.html").success(function() { ok( true, "With only string URL argument" ); }),
jQuery.ajax("data/name.html", {} ).success(function() { ok( true, "With string URL param and map" ); }),
jQuery.ajax({ url: "data/name.html"} ).success(function() { ok( true, "With only map" ); })
).always(functionunction() {
).always(function() {
start();
});

5 comments on commit 3e0fe5e

@mathiasbynens
Copy link
Contributor

@mathiasbynens mathiasbynens commented on 3e0fe5e Oct 2, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approve of this commit.

@cowboy
Copy link
Member

@cowboy cowboy commented on 3e0fe5e Oct 2, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about .always(start) ?

@rwaldron
Copy link
Member

@rwaldron rwaldron commented on 3e0fe5e Oct 2, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanna give @cowboy a hug :D

@cowboy
Copy link
Member

@cowboy cowboy commented on 3e0fe5e Oct 2, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NO U

@cowboy
Copy link
Member

@cowboy cowboy commented on 3e0fe5e Oct 2, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about .always(start.bind(null, undefined, undefined, undefined, undefined)) then?

Please sign in to comment.