summaryrefslogtreecommitdiff
path: root/print/resources
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2019-04-23 19:58:51 -0400
committerLex Neva <github.com@lexneva.name>2019-04-23 19:58:51 -0400
commit953990739b742bdad5221c39b35d47fd530502bb (patch)
treebb606670acb84e6f5e7e16ed0d5bc22cae9685f7 /print/resources
parent352aebad5e9f5439f428efdeb1c29a51fa4bad96 (diff)
remove obselete comment
Diffstat (limited to 'print/resources')
-rw-r--r--print/resources/inkstitch.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/print/resources/inkstitch.js b/print/resources/inkstitch.js
index 57f62b1a..a5d57e26 100644
--- a/print/resources/inkstitch.js
+++ b/print/resources/inkstitch.js
@@ -663,9 +663,6 @@ $(function() {
canvas.height = image.height / 96 * 600;
var ctx = canvas.getContext('2d');
-
- // rendering slows down the browser enough that we can miss sending
- // pings, so tell the server side to wait for us
ctx.drawImage(image, 0, 0, image.width, image.height, 0, 0, canvas.width, canvas.height);
realistic_cache[item] = '<svg width=' + image.width + ' height=' + image.height + ' xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">' +
'<image x=0 y=0 width=' + image.width + ' height=' + image.height + ' xlink:href="' + canvas.toDataURL() + '" />' +