Show More
@@ -28,7 +28,7 b' function BranchRenderer(canvas_id, conte' | |||
|
28 | 28 | // row_id_prefix is prefix that is applied to get row id's |
|
29 | 29 | this.canvas = document.getElementById(canvas_id); |
|
30 | 30 | var content = document.getElementById(content_id); |
|
31 | ||
|
31 | ||
|
32 | 32 | if (!document.createElement("canvas").getContext) |
|
33 | 33 | this.canvas = window.G_vmlCanvasManager.initElement(this.canvas); |
|
34 | 34 | if (!this.canvas) { // canvas creation did for some reason fail - fail silently |
@@ -100,7 +100,7 b' function BranchRenderer(canvas_id, conte' | |||
|
100 | 100 | } |
|
101 | 101 | var next = document.getElementById(row_id_prefix+(idx+1)); |
|
102 | 102 | var extra = 0; |
|
103 | ||
|
103 | ||
|
104 | 104 | cur = data[i]; |
|
105 | 105 | node = cur[0]; |
|
106 | 106 | in_l = cur[1]; |
@@ -116,7 +116,7 b' function BranchRenderer(canvas_id, conte' | |||
|
116 | 116 | end = line[1]; |
|
117 | 117 | color = line[2]; |
|
118 | 118 | obsolete_line = line[3]; |
|
119 | ||
|
119 | ||
|
120 | 120 | x = Math.floor(base_x - box_size * start); |
|
121 | 121 | |
|
122 | 122 | // figure out if this is a dead-end; |
@@ -157,7 +157,7 b' function BranchRenderer(canvas_id, conte' | |||
|
157 | 157 | { |
|
158 | 158 | this.setColor(color, 0.0, 0.65); |
|
159 | 159 | } |
|
160 | ||
|
160 | ||
|
161 | 161 | this.ctx.lineWidth=this.line_width; |
|
162 | 162 | this.ctx.beginPath(); |
|
163 | 163 | if (obsolete_line) |
@@ -183,12 +183,12 b' function BranchRenderer(canvas_id, conte' | |||
|
183 | 183 | this.ctx.stroke(); |
|
184 | 184 | this.ctx.setLineDash([]); // reset the dashed line, if any |
|
185 | 185 | } |
|
186 | ||
|
186 | ||
|
187 | 187 | column = node[0]; |
|
188 | 188 | color = node[1]; |
|
189 | ||
|
189 | ||
|
190 | 190 | x = Math.floor(base_x - box_size * column); |
|
191 | ||
|
191 | ||
|
192 | 192 | this.setColor(color, 0.25, 0.75); |
|
193 | 193 | |
|
194 | 194 | |
@@ -216,7 +216,7 b' function BranchRenderer(canvas_id, conte' | |||
|
216 | 216 | |
|
217 | 217 | idx++; |
|
218 | 218 | } |
|
219 | ||
|
219 | ||
|
220 | 220 | } |
|
221 | 221 | |
|
222 | 222 | } |
@@ -18,6 +18,7 b" sed -i -e '1s|, |,|g' kallithea/public/c" | |||
|
18 | 18 | sed -i -e 's/^\([^ ,/]\+ [^,]*[^ ,]\) *, *\(.\)/\1,\n\2/g' kallithea/public/css/{style,contextbar}.css |
|
19 | 19 | sed -i -e 's/^\([^ ,/].*\) */\1 /g' kallithea/public/css/{style,contextbar}.css |
|
20 | 20 | sed -i -e 's,^--$,-- ,g' kallithea/templates/email_templates/main.txt |
|
21 | sed -i -e 's,[ ][ ]*$,,g' -e 's, , ,g' kallithea/public/js/graph.js | |
|
21 | 22 | |
|
22 | 23 | hg mani | xargs chmod -x |
|
23 | 24 | hg loc 'set:!binary()&grep("^#!")&!(**_tmpl.py)&!(**/template**)' | xargs chmod +x |
General Comments 0
You need to be logged in to leave comments.
Login now