Use .call instead of .apply. minor.

This commit is contained in:
Saebekassebil 2011-07-07 16:06:45 +02:00
parent ff17a5db5a
commit 056a729115

2
pdf.js
View File

@ -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 = {