summaryrefslogtreecommitdiff
path: root/bubble.js
diff options
context:
space:
mode:
Diffstat (limited to 'bubble.js')
-rw-r--r--bubble.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/bubble.js b/bubble.js
index 6b735b3..fd59b32 100644
--- a/bubble.js
+++ b/bubble.js
@@ -399,9 +399,10 @@ function run() {
// initialize SVG element and force
initSvg();
+
+// Set PROFILE=1 to enable profiling when using the button.
+var ticks = 0, PROFILE = 1;
if (/no-auto/.test(location.search)) {
- var ticks = 0;
- var PROFILE = 1;
// advanced stuff here: profiling!
d3.select('body').append('button')
.style('position', 'absolute')