mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Line 405 : 'errorback' should have been 'errback'
This commit is contained in:
parent
f79ed9c941
commit
6f61b52943
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ var Promise = (function PromiseClosure() {
|
|||
if (this.isResolved) {
|
||||
var data = this.data;
|
||||
callback.call(null, data);
|
||||
} else if (this.isRejected && errorback) {
|
||||
} else if (this.isRejected && errback) {
|
||||
var error = this.error;
|
||||
errback.call(null, error);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue