Sha256: d6529e72ac75c36030d660d00734eb8a657fd75bd4343ce472816b87e9e0d097

Contents?: true

Size: 619 Bytes

Versions: 94

Compression:

Stored size: 619 Bytes

Contents

!function(a){var b=a.getElementsByTagName("script"),c=b[b.length-1],d=c.getAttribute("src").replace(/[^\/]+$/,"save.php");window.canvas2png=function(b,c){var e=b.tagName.toLowerCase();if("canvas"===e)if("undefined"!=typeof FlashCanvas)FlashCanvas.saveImage(b,c);else{var f=d;c&&(f+="?filename="+c);var g=a.createElement("form"),h=a.createElement("input");g.setAttribute("action",f),g.setAttribute("method","post"),h.setAttribute("type","hidden"),h.setAttribute("name","dataurl"),h.setAttribute("value",b.toDataURL()),a.body.appendChild(g),g.appendChild(h),g.submit(),g.removeChild(h),a.body.removeChild(g)}}}(document);

Version data entries

94 entries across 26 versions & 2 rubygems

Version Path
sequenceserver-1.0.14 public/dist/js/shims/FlashCanvas/canvas2png.js
sequenceserver-1.0.14 public/js/webshims/shims/FlashCanvas/canvas2png.js
sequenceserver-1.0.14 public/dist/js/shims/FlashCanvasPro/canvas2png.js
sequenceserver-1.0.14 public/js/webshims/shims/FlashCanvasPro/canvas2png.js
sequenceserver-1.0.13 public/js/webshims/shims/FlashCanvas/canvas2png.js
sequenceserver-1.0.13 public/dist/js/shims/FlashCanvasPro/canvas2png.js
sequenceserver-1.0.13 public/js/webshims/shims/FlashCanvasPro/canvas2png.js
sequenceserver-1.0.13 public/dist/js/shims/FlashCanvas/canvas2png.js
sequenceserver-1.0.12 public/dist/js/shims/FlashCanvasPro/canvas2png.js
sequenceserver-1.0.12 public/js/webshims/shims/FlashCanvas/canvas2png.js
sequenceserver-1.0.12 public/dist/js/shims/FlashCanvas/canvas2png.js
sequenceserver-1.0.12 public/js/webshims/shims/FlashCanvasPro/canvas2png.js
sequenceserver-1.0.11 public/dist/js/shims/FlashCanvas/canvas2png.js
sequenceserver-1.0.11 public/js/webshims/shims/FlashCanvas/canvas2png.js
sequenceserver-1.0.11 public/js/webshims/shims/FlashCanvasPro/canvas2png.js
sequenceserver-1.0.11 public/dist/js/shims/FlashCanvasPro/canvas2png.js
sequenceserver-1.0.10 public/js/webshims/shims/FlashCanvas/canvas2png.js
sequenceserver-1.0.10 public/dist/js/shims/FlashCanvas/canvas2png.js
sequenceserver-1.0.10 public/dist/js/shims/FlashCanvasPro/canvas2png.js
sequenceserver-1.0.10 public/js/webshims/shims/FlashCanvasPro/canvas2png.js