Permalink
Browse files

We have too many unctions in this function.

  • Loading branch information...
1 parent 9f5d56a commit 3e0fe5ea3b1dafe454039c7c12c4d5d5fa037c9f @jaubourg jaubourg committed Oct 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/unit/ajax.js
View
2 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

I approve of this commit.

@cowboy
jQuery Foundation member

How about .always(start) ?

@rwaldron
jQuery Foundation member

I wanna give @cowboy a hug :D

@cowboy
jQuery Foundation member

NO U

@cowboy
jQuery Foundation member

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

Please sign in to comment.