From 4ea94d8cd6ca6d284f66012c306df04acc732dad Mon Sep 17 00:00:00 2001
From: Ben Burlingham
Date: Tue, 22 Nov 2016 08:10:11 -0800
Subject: [PATCH] Removing some debugging info.
---
index.html | 2 +-
js/bundle.js | 2 +-
js/diagram.js | 4 +---
3 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/index.html b/index.html
index 3eaa1ff..27be0b5 100644
--- a/index.html
+++ b/index.html
@@ -36,7 +36,7 @@
- This visualization is created using D3 and Three.js libraries.
+ This visualization is created using D3.js. Note that null-null relationships are not displayed on chord diagrams. As a result, matches with a score of 0-0 are not shown.
diff --git a/js/bundle.js b/js/bundle.js
index 30fe8f5..ce980b4 100644
--- a/js/bundle.js
+++ b/js/bundle.js
@@ -641,7 +641,7 @@
s2 += " (Extended time)";
}
- return c1 + ': ' + s1 + '\n' + c2 + ': ' + s2 + '\n' + data.rounds[d.game.rId] + '\n \nsource (i,j) val: (' + d.source.index + ', ' + d.source.subindex + ') ' + d.source.value + '\n \ntarget (i,j) val: (' + d.target.index + ', ' + d.target.subindex + ') ' + d.target.value;
+ return c1 + ': ' + s1 + '\n' + c2 + ': ' + s2 + '\n' + data.rounds[d.game.rId];
});
},
diff --git a/js/diagram.js b/js/diagram.js
index 2b9b131..7d551bf 100644
--- a/js/diagram.js
+++ b/js/diagram.js
@@ -227,9 +227,7 @@ const Diagram = {
s2 += " (Extended time)";
}
- return `${c1}: ${s1}\n${c2}: ${s2}\n${data.rounds[d.game.rId]}
- \nsource (i,j) val: (${d.source.index}, ${d.source.subindex}) ${d.source.value}
- \ntarget (i,j) val: (${d.target.index}, ${d.target.subindex}) ${d.target.value}`;
+ return `${c1}: ${s1}\n${c2}: ${s2}\n${data.rounds[d.game.rId]}`;
});
},