From 930143b966b32649225c2431eba6bbc635630113 Mon Sep 17 00:00:00 2001 From: timb Date: Sat, 15 Aug 2015 12:41:41 -0700 Subject: try to load colorcode if url passed in window.location --- js/app.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/app.js') 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 -- cgit v1.2.3-70-g09d2