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 with 1 addition and 1 deletion.
  1. +1 −1 test/unit/ajax.js
@@ -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

This comment has been minimized.

Copy link
Contributor

replied Oct 2, 2011

I approve of this commit.

@cowboy

This comment has been minimized.

Copy link
Member

replied Oct 2, 2011

How about .always(start) ?

@rwaldron

This comment has been minimized.

Copy link
Member

replied Oct 2, 2011

I wanna give @cowboy a hug :D

@cowboy

This comment has been minimized.

Copy link
Member

replied Oct 2, 2011

NO U

@cowboy

This comment has been minimized.

Copy link
Member

replied Oct 2, 2011

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

Please sign in to comment.
You can’t perform that action at this time.