From: Saebekassebil Date: Thu, 7 Jul 2011 14:06:45 +0000 (+0200) Subject: Use .call instead of .apply. minor. X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=056a729115c2c2299fafc6d1c31efe135a9c78e4;p=pdf.js.git Use .call instead of .apply. minor. --- diff --git a/pdf.js b/pdf.js index 7dbc187..73fdeee 100644 --- a/pdf.js +++ b/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 = {