Mercurial > hg > soundsoftware-site
comparison public/javascripts/revision_graph.js @ 1295:622f24f53b42 redmine-2.3
Update to Redmine SVN revision 11972 on 2.3-stable branch
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:02:21 +0100 |
parents | 433d4f72a19b |
children |
comparison
equal
deleted
inserted
replaced
1294:3e4c3460b6ca | 1295:622f24f53b42 |
---|---|
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) { |