mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #5081 from timvandermeij/promises-typo
Fixes typo in promises implementation for legacy browsers
This commit is contained in:
commit
2642583e82
1 changed files with 1 additions and 1 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue