-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added an optional 'scope' parameter to Deferred/Promise callback regi…
…stration. Modified `Deft.promise.Deferred::then()`, `Deft.promise.Deferred::otherwise()`, and `Deft.promise.Deferred::always()` to accept a new parameter (or `scope` parameter within a configuration object) that defines the scope in which the specified callbacks should be executed. Modified `Deft.promise.Promise::then()`, `Deft.promise.Promise::otherwise()`, and `Deft.promise.Promise::always()` to pass through all parameters to the corresponding methods in the backing `Deft.promise.Deferred`. Fixes #33
- Loading branch information
John Yanarella
committed
Aug 1, 2012
1 parent
a3289bb
commit 01631e2
Showing
8 changed files
with
980 additions
and
410 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.