summaryrefslogtreecommitdiff
path: root/js/app.js
diff options
context:
space:
mode:
authorJulie Lala <jules@okfoc.us>2014-11-27 00:56:17 -0500
committerJulie Lala <jules@okfoc.us>2014-11-27 00:56:17 -0500
commitcebe1340f8c83bfceaca01fae923bc7d5fb2bff3 (patch)
treeca1caea52783acfb80e2481dfc639d39f2cb19a7 /js/app.js
parent8354e3f29c5eed2837cb6993b0c4fa7274962cbc (diff)
split out copy code, add img to color code thing
Diffstat (limited to 'js/app.js')
-rw-r--r--js/app.js12
1 files changed, 0 insertions, 12 deletions
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')