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>
Thu, 30 Dec 2010 16:06:53 +0000 (17:06 +0100)
commit7b1e873cd9656ab9184242cba708faecd5f46c3d
treec8cc49ea6b62bbf477b2855e66e02563f8c416c4
parent64902e03450dc9164dbdb046a701008a249497c1
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