comparison public/javascripts/revision_graph.js @ 1464:261b3d9a4903 redmine-2.4

Update to Redmine 2.4 branch rev 12663
author Chris Cannam
date Tue, 14 Jan 2014 14:37:42 +0000
parents 433d4f72a19b
children
comparison
equal deleted inserted replaced
1296:038ba2d95de8 1464:261b3d9a4903
41 y = commit_table_rows.eq(max_rdmid - commit.rdmid).position().top - graph_y_offset + CIRCLE_INROW_OFFSET; 41 y = commit_table_rows.eq(max_rdmid - commit.rdmid).position().top - graph_y_offset + CIRCLE_INROW_OFFSET;
42 x = graph_x_offset + XSTEP / 2 + XSTEP * commit.space; 42 x = graph_x_offset + XSTEP / 2 + XSTEP * commit.space;
43 revisionGraph.circle(x, y, 3) 43 revisionGraph.circle(x, y, 3)
44 .attr({ 44 .attr({
45 fill: colors[commit.space], 45 fill: colors[commit.space],
46 stroke: 'none', 46 stroke: 'none'
47 }).toFront(); 47 }).toFront();
48 // paths to parents 48 // paths to parents
49 $.each(commit.parent_scmids, function(index, parent_scmid) { 49 $.each(commit.parent_scmids, function(index, parent_scmid) {
50 parent_commit = commits_by_scmid[parent_scmid]; 50 parent_commit = commits_by_scmid[parent_scmid];
51 if (parent_commit) { 51 if (parent_commit) {