From 368deb5992f27fce9a23629229af4367ba38f901 Mon Sep 17 00:00:00 2001 From: Nihad Abbasov Date: Tue, 15 Nov 2011 12:34:30 +0400 Subject: clean up whitespace from project --- lib/assets/javascripts/branch-graph.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/assets') diff --git a/lib/assets/javascripts/branch-graph.js b/lib/assets/javascripts/branch-graph.js index 8c45aefe688..b1e3ee04b4b 100644 --- a/lib/assets/javascripts/branch-graph.js +++ b/lib/assets/javascripts/branch-graph.js @@ -39,7 +39,7 @@ function branchGraph(holder) { var cuday = 0, cumonth = ""; r.rect(0, 0, days.length * 20 + 20, 20).attr({fill: "#474D57"}); r.rect(0, 20, days.length * 20 + 20, 20).attr({fill: "#f7f7f7"}); - + for (mm = 0; mm < days.length; mm++) { if(days[mm] != null){ if(cuday != days[mm][0]){ @@ -50,7 +50,7 @@ function branchGraph(holder) { r.text(10 + mm * 20, 10, days[mm][1]).attr({font: "12px Fontin-Sans, Arial", fill: "#444"}); cumonth = days[mm][1] } - + } } for (i = 0; i < ii; i++) { @@ -65,7 +65,7 @@ function branchGraph(holder) { } var t = r.text(x+5, y+5, shortrefs).attr({font: "12px Fontin-Sans, Arial", fill: "#666", title: longrefs, cursor: "pointer", rotation: "90"}); - + var textbox = t.getBBox(); t.translate(textbox.height/-4,textbox.width/2); } @@ -77,7 +77,7 @@ function branchGraph(holder) { if (c.space == commits[i].space) { r.path("M" + (x - 5) + "," + (y + .0001) + "L" + (15 + 20 * c.time) + "," + (y + .0001)) .attr({stroke: colors[c.space], "stroke-width": 2}); - + } else if (c.space < commits[i].space) { r.path(["M", x - 5, y + .0001, "l-5-2,0,4,5,-2C",x-5,y,x -17, y+2, x -20, y-10,"L", cx,y-10,cx , cy]) .attr({stroke: colors[commits[i].space], "stroke-width": 2}); -- cgit v1.2.3