valrus / undertale-dialog-generator

A WIP Elm project for generating Undertale dialog boxes.
http://thehotvoice.mccowan.space/
Other
24 stars 5 forks source link

saveSvgAsPng error and version confusion #71

Open valrus opened 7 years ago

valrus commented 7 years ago

saveSvgAsPng, as deployed, shows the following error in console:

saveSvgAsPng.min.js:1 Uncaught ReferenceError: css is not defined
    at saveSvgAsPng.min.js:1
    at checkDone (saveSvgAsPng.min.js:1)
    at HTMLImageElement.img.onload (saveSvgAsPng.min.js:1)
(anonymous) @   saveSvgAsPng.min.js:1
checkDone   @   saveSvgAsPng.min.js:1
img.onload  @   saveSvgAsPng.min.js:1

but the saveSvgAsPng.js in the source seems to be wrong; when minified and deployed, it results in bad rendering output. Need to figure out what changes were made to it for the minified version and recreate them, and then fix this error.