Fixes typo in promises implementation for legacy browsers

This commit is contained in:
Tim van der Meij 2014-07-24 17:11:22 +02:00
parent 9b9e2a3d63
commit 41faa78368

View File

@ -1323,7 +1323,7 @@ PDFJS.createPromiseCapability = createPromiseCapability;
then: function Promise_then(onResolve, onReject) {
var nextPromise = new Promise(function (resolve, reject) {
this.resolve = reject;
this.resolve = resolve;
this.reject = reject;
});
this._handlers.push({