From 056a729115c2c2299fafc6d1c31efe135a9c78e4 Mon Sep 17 00:00:00 2001 From: Saebekassebil Date: Thu, 7 Jul 2011 16:06:45 +0200 Subject: [PATCH] Use .call instead of .apply. minor. --- pdf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf.js b/pdf.js index 7dbc187fc..73fdeee2a 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 = {