From 2098d840dae1222f4e998b56d1eaa396fec67dad Mon Sep 17 00:00:00 2001 From: sbarman Date: Fri, 15 Jul 2011 12:06:38 -0700 Subject: [PATCH] fix to dummyshading --- pdf.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pdf.js b/pdf.js index bf34d9398..bc726ccd2 100644 --- 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';