From 607f69c67a5b4dc72d2754192e3cdf67d0ad11d0 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 3 Jun 2014 16:24:10 -0400 Subject: partitioning client and serveR --- client/assets/javascripts/rectangles/util/debug.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 client/assets/javascripts/rectangles/util/debug.js (limited to 'client/assets/javascripts/rectangles/util/debug.js') diff --git a/client/assets/javascripts/rectangles/util/debug.js b/client/assets/javascripts/rectangles/util/debug.js new file mode 100644 index 0000000..924c816 --- /dev/null +++ b/client/assets/javascripts/rectangles/util/debug.js @@ -0,0 +1,8 @@ +/* + on mousedown, z := true + + if (z) // log stuff +*/ + +window.z = true; +document.body.addEventListener("mousedown", function(){ z = true }) -- cgit v1.2.3-70-g09d2