summaryrefslogtreecommitdiff
path: root/assets/javascripts/rectangles/util/debug.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/javascripts/rectangles/util/debug.js')
-rw-r--r--assets/javascripts/rectangles/util/debug.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/assets/javascripts/rectangles/util/debug.js b/assets/javascripts/rectangles/util/debug.js
index 437abb8..924c816 100644
--- a/assets/javascripts/rectangles/util/debug.js
+++ b/assets/javascripts/rectangles/util/debug.js
@@ -1,2 +1,8 @@
+/*
+ on mousedown, z := true
+
+ if (z) // log stuff
+*/
+
window.z = true;
document.body.addEventListener("mousedown", function(){ z = true })