mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Use .call instead of .apply. minor.
This commit is contained in:
parent
ff17a5db5a
commit
056a729115
1 changed files with 1 additions and 1 deletions
2
pdf.js
2
pdf.js
|
@ -4989,7 +4989,7 @@ var PDFFunction = (function() {
|
|||
if (!typeFn)
|
||||
error('Unknown type of function');
|
||||
|
||||
typeFn.apply(this, [fn, dict]);
|
||||
typeFn.call(this, fn, dict);
|
||||
};
|
||||
|
||||
constructor.prototype = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue