]> git.parisson.com Git - pdf.js.git/commitdiff
cleanup
authorsbarman <sbarman@L3CWZ5T.(none)>
Wed, 6 Jul 2011 21:28:52 +0000 (14:28 -0700)
committersbarman <sbarman@L3CWZ5T.(none)>
Wed, 6 Jul 2011 21:28:52 +0000 (14:28 -0700)
pdf.js

diff --git a/pdf.js b/pdf.js
index 2de561bf71bd8b695f57d570403088f20ac5d4a0..2151c04970569f10db6685ef6472e707ec266177 100644 (file)
--- a/pdf.js
+++ b/pdf.js
@@ -4022,8 +4022,7 @@ var CanvasGraphics = (function() {
       var pattern = xref.fetchIfRef(patternRes.get(patternName.name));
       var dict = IsStream(pattern) ? pattern.dict : pattern;
 
-      var types = [null, this.setTilingPattern,
-          this.setShadingPattern];
+      var types = [null, this.setTilingPattern, this.setShadingPattern];
 
       var typeNum = dict.get("PatternType");
       var patternFn = types[typeNum];