Skip to content

Commit

Permalink
Fixed A+ bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeschastny committed Mar 3, 2014
1 parent 72d2f55 commit e5abc17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/promise.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ function Promise (col, type, opts) {
this.onResolve(this.emit.bind(this,'complete'));

// for practical purposes
this.resolve = this.resolve.bind(this);
this.fulfill = this.fulfill.bind(this);
this.reject = this.reject.bind(this);
this.resolve = MPromise.prototype.resolve.bind(this);
this.fulfill = MPromise.prototype.fulfill.bind(this);
this.reject = MPromise.prototype.reject.bind(this);
}

/*!
Expand Down

0 comments on commit e5abc17

Please sign in to comment.