]> git.parisson.com Git - pdf.js.git/commitdiff
fix type
authorsbarman <sbarman@L3CWZ5T.(none)>
Fri, 15 Jul 2011 18:41:39 +0000 (11:41 -0700)
committersbarman <sbarman@L3CWZ5T.(none)>
Fri, 15 Jul 2011 18:41:39 +0000 (11:41 -0700)
pdf.js

diff --git a/pdf.js b/pdf.js
index d371330ac579ecf9bb35babc687d08de360b1e83..fe2d38ac69c5bdbc4858ee0f717e1c9ec0778dd1 100644 (file)
--- a/pdf.js
+++ b/pdf.js
@@ -4055,7 +4055,7 @@ var CanvasGraphics = (function() {
       }
       
       var strokeColor = this.current.strokeColor;
-      if (stokeColor && strokeColor.type === "Pattern") {
+      if (strokeColor && strokeColor.type === "Pattern") {
         ctx.save();
         ctx.strokeStyle = strokeColor.getPattern(ctx);
         ctx.stroke();