Permalink
Browse files

* Promises.js: merged

  • Loading branch information...
2 parents e33ac30 + 6cdd7e7 commit 2d5b04e1d4354f817e2ddc8e0690344cae8c8b0e @swannodette swannodette committed Mar 24, 2010
Showing with 2 additions and 5 deletions.
  1. +2 −5 Promises.js
View
@@ -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();
}
}

0 comments on commit 2d5b04e

Please sign in to comment.