summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-09-29 15:27:37 +0300
committerAlon Levy <alon@pobox.com>2014-09-29 15:27:37 +0300
commitc16bc88201d132f76e70d1f21921db630c39d8ad (patch)
treefe42a90604c8beaf7d7743b3add455587eae0f44 /scripts
parent08e95251d2e30c9375a18743b26419f50c0fa574 (diff)
rhizicore: remove unused code from tick
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rhizicore.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js
index f22e87a7..0e82553d 100644
--- a/scripts/rhizicore.js
+++ b/scripts/rhizicore.js
@@ -727,14 +727,6 @@ function tick(e) {
return "translate(" + d.x + "," + d.y + ")";
}
-
- function getCentroid(selection) {
- var element = selection.node(),
- bbox = element.getBBox();
- return [bbox.x + bbox.width / 2, bbox.y + bbox.height / 2];
- }
-
-
if (graphstate === "GANTT") {
var k = 20 * e.alpha;
var today = new Date();