diff options
| author | Julie Lala <jules@okfoc.us> | 2014-11-27 00:56:17 -0500 |
|---|---|---|
| committer | Julie Lala <jules@okfoc.us> | 2014-11-27 00:56:17 -0500 |
| commit | cebe1340f8c83bfceaca01fae923bc7d5fb2bff3 (patch) | |
| tree | ca1caea52783acfb80e2481dfc639d39f2cb19a7 /js/app.js | |
| parent | 8354e3f29c5eed2837cb6993b0c4fa7274962cbc (diff) | |
split out copy code, add img to color code thing
Diffstat (limited to 'js/app.js')
| -rw-r--r-- | js/app.js | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -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') |
