Permalink
Browse files

Small fix for svg rendering script

  • Loading branch information...
Salem Talha
Salem Talha committed Jun 19, 2014
1 parent 75d18af commit 60dfed6c5eb427e21672a8bd908a0b5907dfc870
Showing with 1 addition and 1 deletion.
  1. +1 −1 jspdf.plugin.sillysvgrenderer.js
@@ -44,7 +44,7 @@ jsPDFAPI.addSVG = function(svgtext, x, y, w, h) {
var undef
- if (x === undef || x === undef) {
+ if (x === undef || y === undef) {
throw new Error("addSVG needs values for 'x' and 'y'");
}

0 comments on commit 60dfed6

Please sign in to comment.