Skip to content

Commit

Permalink
* Promises.js: merged
Browse files Browse the repository at this point in the history
  • Loading branch information
swannodette committed Mar 24, 2010
2 parents e33ac30 + 6cdd7e7 commit 2d5b04e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Promises.js
Expand Up @@ -200,12 +200,9 @@ var Promise = new Class({
} else if(this.__plain) {
this.deliver(this.value());
} else if(this.__promise) {
if(this.__promise.isRealized())
{
if(this.__promise.isRealized()) {
this.deliver(this.__promise.value());
}
else
{
} else {
this.__promise.realize();
}
}
Expand Down

0 comments on commit 2d5b04e

Please sign in to comment.