]> git.parisson.com Git - pdf.js.git/commitdiff
fix to dummyshading
authorsbarman <sbarman@L3CWZ5T.(none)>
Fri, 15 Jul 2011 19:06:38 +0000 (12:06 -0700)
committersbarman <sbarman@L3CWZ5T.(none)>
Fri, 15 Jul 2011 19:06:38 +0000 (12:06 -0700)
pdf.js

diff --git a/pdf.js b/pdf.js
index bf34d939885a05f61ca4a36eb163927fd22df51d..bc726ccd26c53bee5ecb1acd2f49a8652a67d559 100644 (file)
--- a/pdf.js
+++ b/pdf.js
@@ -4946,7 +4946,9 @@ var Pattern = (function() {
 })();
 
 var DummyShading = (function() {
-  function constructor() {};
+  function constructor() {
+    this.type = 'Pattern';
+  };
   constructor.prototype = {
     getPattern: function dummy_getpattern() {
       return 'hotpink';