aboutsummaryrefslogtreecommitdiffstats
path: root/src/deferred.js
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2011-04-08 17:41:14 +0200
committerjaubourg <j@ubourg.net>2011-04-08 17:41:14 +0200
commit2594a935de347088cecac987c3868e9bb5f35194 (patch)
tree38d443f692f96bb65e548e5f95260201f51a5e38 /src/deferred.js
parent7a1c6beab0d92b1419050eb468773bf1138254a6 (diff)
downloadjquery-2594a935de347088cecac987c3868e9bb5f35194.tar.gz
jquery-2594a935de347088cecac987c3868e9bb5f35194.zip
Applies exception in Style Guidelines regarding objects and functions when they are the last argument of a function call.
Diffstat (limited to 'src/deferred.js')
-rw-r--r--src/deferred.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/deferred.js b/src/deferred.js
index a25bdb7a5..02f92b26c 100644
--- a/src/deferred.js
+++ b/src/deferred.js
@@ -128,7 +128,7 @@ jQuery.extend({
} else {
deferred[ handler ]( newDefer[ action ] );
}
- } );
+ });
}).promise();
},
// Get a promise for this deferred
@@ -146,7 +146,7 @@ jQuery.extend({
}
return obj;
}
- } );
+ });
// Make sure only one callback list will be used
deferred.done( failDeferred.cancel ).fail( deferred.cancel );
// Unexpose cancel