Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Small fix for svg rendering script #285

Merged
merged 1 commit into from

2 participants

@salemtalha

This seems like a minor mistake, just wanted to fix it.

@diegocr
Collaborator

Thanks, although we are in the process of replacing our SVG plugin

@diegocr diegocr merged commit 22e4ddc into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 19, 2014
  1. Small fix for svg rendering script

    Salem Talha authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  jspdf.plugin.sillysvgrenderer.js
View
2  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'");
}
Something went wrong with that request. Please try again.