There was an error while loading. Please reload this page.
1 parent a39d1f2 commit 71f29bcCopy full SHA for 71f29bc
1 file changed
plugins/canvas.js
@@ -7,7 +7,7 @@
7
*/
8
9
/**
10
- * This plugin mimicks the HTML5 Canvas
+ * This plugin mimics the HTML5 Canvas
11
*
12
* The goal is to provide a way for current canvas users to print directly to a PDF.
13
@@ -23,6 +23,7 @@
23
24
jsPDFAPI.canvas = {
25
getContext : function(name) {
26
+ this.pdf.context2d._canvas = this;
27
return this.pdf.context2d;
28
},
29
style : {}
0 commit comments