]> source.dussan.org Git - jquery.git/commit
Introduced a new promise method on deferreds that returns an immutable object (exposi...
authorjaubourg <j@ubourg.net>
Tue, 28 Dec 2010 03:13:44 +0000 (04:13 +0100)
committerjaubourg <j@ubourg.net>
Fri, 31 Dec 2010 03:15:11 +0000 (04:15 +0100)
commit6dbffb8596a9c96c68386ecc2d95da25b9dee369
tree996aab3b8432f03ba0bf73a1619e7b980f14d628
parent6165cc45b7f673aa0d9daf33659a2783f68a45ac
Introduced a new promise method on deferreds that returns an immutable object (exposing then, fail, isResolved, isRejected and promise itself only). Remove $.isDeferred and moved logic directly into $.when. Made sure $.when returns a promise by using promise(). Used promise() in ajax code too.
src/ajax.js
src/core.js
test/unit/core.js