Changeset - a49953fb84bf
[Not reviewed]
default
0 1 0
Mads Kiilerich - 11 years ago 2014-09-08 13:38:56
madski@unity3d.com
graph: minor cleanup of js
1 file changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
kallithea/public/js/graph.js
Show inline comments
 
@@ -84,8 +84,10 @@ function BranchRenderer(canvas_id, conte
 
		for (var i=0; i < data.length; ++i) {
 

	
 
			var row = document.getElementById("chg_"+idx);
 
			if (row == null)
 
			if (row == null) {
 
				console.log("error: row chg_"+idx+" not found");
 
				continue;
 
			}
 
			var	next = document.getElementById("chg_"+(idx+1));
 
			var extra = 0;
 
			
 
@@ -111,7 +113,6 @@ function BranchRenderer(canvas_id, conte
 
				if (next != null) {
 
					nextdata = data[i+1];
 
					next_l = nextdata[1];
 
					found = false;
 
					for (var k=0; k < next_l.length; ++k) {
 
						if (next_l[k][0] == end) {
 
							dead_end = false;
0 comments (0 inline, 0 general)