summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-06-19 20:40:09 -0400
committerLex Neva <github.com@lexneva.name>2018-06-19 20:40:09 -0400
commite1f6ecce63617b0f8931e8a5728bc0ff6bc5e93c (patch)
tree1312364037383af906b94210e0eecb06c3207809 /print
parentbb6b05bc002767630f08372a70a400a2ad099b85 (diff)
remove commented-out code
Diffstat (limited to 'print')
-rw-r--r--print/resources/inkstitch.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/print/resources/inkstitch.js b/print/resources/inkstitch.js
index e9ee3e0f..6bcb183d 100644
--- a/print/resources/inkstitch.js
+++ b/print/resources/inkstitch.js
@@ -200,22 +200,6 @@ $(function() {
});
});
-// $.getJSON('/realistic', function(realistic_data) {
- // realistic_rendering is global
- /*
- $.each(realistic_data, function(name, xml) {
- var image = new Image();
- console.log("doing " + name);
- image.onload = function() {
- console.log("setting " + name + " = " + image);
- realistic_rendering[name] = image;
- }
- image.src = 'data:image/svg+xml,' + xml;
- })
- */
-// realistic_rendering = realistic_data;
-// });
-
// wait until page size is set (if they've specified one) and then scale SVGs to fit
setTimeout(function() { scaleAllSvg() }, 500);
});