aboutsummaryrefslogtreecommitdiffstats
path: root/src/deferred.js
Commit message (Collapse)AuthorAgeFilesLines
* Removes isPending and introduces state as a means to retrieve the ↵jaubourg2011-10-111-6/+12
| | | | Deferred/Promise state. Unit tests amended.
* isProgressing becomes isPending. Unit tests added.jaubourg2011-10-041-1/+1
|
* Trimmed down $.Callbacks and $.Deferred.jaubourg2011-09-211-25/+24
|
* $.Callbacks, $.Topic and notify/progress on $.Deferred.jaubourg2011-09-191-146/+86
|
* Fixes #9446. Context is properly propagated using pipe. If context was the ↵jaubourg2011-07-011-1/+1
| | | | original deferred, then context is updated to next deferred in the chain. Unit tests added.
* Revert "Add catch block to try/finally in deferred. Fixes #9033. Test case ↵timmywil2011-06-081-3/+2
| | | | | | needed." Line of exception was lost when debugging. This reverts commit 0a80be67f4fe968d99777564a02aeddbde1fbf35.
* Add catch block to try/finally in deferred. Fixes #9033. Test case needed.timmywil2011-06-071-2/+3
|
* Fixes #9104. Returning null or undefined in a pipe callback shouldn't end up ↵jaubourg2011-05-091-1/+1
| | | | throwing an exception. Silly, silly, me.
* Applies exception in Style Guidelines regarding objects and functions when ↵jaubourg2011-04-081-2/+2
| | | | they are the last argument of a function call.
* Renames chain as pipe.jaubourg2011-04-081-3/+2
|
* Adds always and chain methods to deferreds.jaubourg2011-04-071-2/+30
|
* Fixes #8692. Strange FF4 bug: values changed onto the arguments object ↵jaubourg2011-03-301-1/+4
| | | | sometimes end up as undefined values outside the $.when method. Cloning the object into a fresh array solves the issue.
* Moves Deferred-related code into a separate module. Context handling has ↵jaubourg2011-03-031-0/+169
been simplified in _Deferred.resolve and jQuery.when has been refactored for clarity (and minor optimization).