]> source.dussan.org Git - jquery.git/commit
Simplified the way a Promise is tested for (removed promiseMarker). Removed isCancell...
authorjaubourg <j@ubourg.net>
Thu, 30 Dec 2010 16:06:53 +0000 (17:06 +0100)
committerjaubourg <j@ubourg.net>
Fri, 31 Dec 2010 03:15:15 +0000 (04:15 +0100)
commit6fb9759a75bf2b9a2aa3a8fce9cd7afc011d8c4f
tree3a6781e22807fcf639a8a108630762fe00384568
parent3c6f1380fa67542ff8c67d6363a865ae3ec23516
Simplified the way a Promise is tested for (removed promiseMarker). Removed isCancelled helper method from _Deferred, wasn't used nor tested. Reworked jQuery.Deferred and removed unnecessary variables. Also ensured a Promise will return itself when asked for a Promise. Finally, the jQuery.when tests have been revamped.
src/core.js
test/unit/core.js