Skip to content
Browse files

proper code style

  • Loading branch information...
1 parent 5f6a21a commit 6cdd7e756d443211438b92f89eeb129646a24f7b @swannodette swannodette committed Jan 9, 2010
Showing with 2 additions and 5 deletions.
  1. +2 −5 Promises.js
View
7 Promises.js
@@ -189,12 +189,9 @@ var Promise = new Class({
} else if(this.__plain) {
this.setValue(this.value());
} else if(this.__promise) {
- if(this.__promise.isRealized())
- {
+ if(this.__promise.isRealized()) {
this.setValue(this.__promise.value());
- }
- else
- {
+ } else {
this.__promise.realize();
}
}

0 comments on commit 6cdd7e7

Please sign in to comment.
Something went wrong with that request. Please try again.