diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-06-03 16:24:10 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-06-03 16:24:28 -0400 |
| commit | 607f69c67a5b4dc72d2754192e3cdf67d0ad11d0 (patch) | |
| tree | 6556e7922c5bedb274bb1650e5dd100643a7895d /client/assets/javascripts/rectangles/util/debug.js | |
| parent | d31259291d807c851de4396921e0c26b6dd8dce2 (diff) | |
partitioning client and serveR
Diffstat (limited to 'client/assets/javascripts/rectangles/util/debug.js')
| -rw-r--r-- | client/assets/javascripts/rectangles/util/debug.js | 8 |
1 files changed, 8 insertions, 0 deletions
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 }) |
