From cebe1340f8c83bfceaca01fae923bc7d5fb2bff3 Mon Sep 17 00:00:00 2001 From: Julie Lala Date: Thu, 27 Nov 2014 00:56:17 -0500 Subject: split out copy code, add img to color code thing --- js/app.js | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'js/app.js') diff --git a/js/app.js b/js/app.js index 05aa325..284ea13 100644 --- a/js/app.js +++ b/js/app.js @@ -126,18 +126,6 @@ function bind () { } }) - var contentType = 'text/plain;charset=utf-8' - document.body.addEventListener('copy', function (e) { - if (e.clipboardData) { - e.preventDefault(); - e.clipboardData.setData(contentType, canvas.ascii()); - } - if (window.clipboardData) { - e.returnValue = false; - window.clipboardData.setData(contentType, canvas.ascii()); - } - }, false); - document.addEventListener('DOMContentLoaded', function(){ if (current_tool.name != 'shader') { cursor_input.focus() } document.body.classList.remove('loading') -- cgit v1.2.3-70-g09d2