]> git.parisson.com Git - pdf.js.git/commitdiff
Use .call instead of .apply. minor.
authorSaebekassebil <saebekassebil@gmail.com>
Thu, 7 Jul 2011 14:06:45 +0000 (16:06 +0200)
committerSaebekassebil <saebekassebil@gmail.com>
Thu, 7 Jul 2011 14:06:45 +0000 (16:06 +0200)
pdf.js

diff --git a/pdf.js b/pdf.js
index 7dbc187fc627e8663862a1d1e3f86288053bc417..73fdeee2aeced5b2141aefb4aa76c90d317babd4 100644 (file)
--- 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 = {