summaryrefslogtreecommitdiff
path: root/js/app.js
diff options
context:
space:
mode:
authortimb <opuscule@gmail.com>2015-08-15 12:41:41 -0700
committertimb <opuscule@gmail.com>2015-08-15 12:41:41 -0700
commit930143b966b32649225c2431eba6bbc635630113 (patch)
tree6119d49a35078fd20739ba36a1eab1fd67fcf202 /js/app.js
parent60c50f6fb8257de776ffc211d160456824065dfa (diff)
try to load colorcode if url passed in window.location
Diffstat (limited to 'js/app.js')
-rw-r--r--js/app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/app.js b/js/app.js
index 9dd94ee..a96cc35 100644
--- a/js/app.js
+++ b/js/app.js
@@ -13,6 +13,7 @@ var current_tool, current_filetool, current_canvas
function init () {
build()
bind()
+ clipboard.load_from_location()
}
function build () {
shader.init()
@@ -42,6 +43,7 @@ function bind () {
brush.bind()
controls.bind()
keys.bind()
+ clipboard.bind()
window.addEventListener('mouseup', function(e){
dragging = erasing = false