Permalink
Browse files

replace data URI with file.src

  • Loading branch information...
1 parent e78e903 commit 108a27649fbbe8a9c16657b67c4f26995ca2b40e @dbushell committed Aug 6, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 tasks/lib/svg2png.js
@@ -37,7 +37,8 @@ var nextFile = function()
height: parseFloat(height)
};
- page.open('data:image/svg+xml;utf8,' + svgdata, function(status)
+ // page.open('data:image/svg+xml;utf8,' + svgdata, function(status)
+ page.open(file.src, function(status)
{
page.render(file.dest);
console.log(JSON.stringify({ 'file': file, 'status': status }));

0 comments on commit 108a276

Please sign in to comment.