branch

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<div id="changelog-graph">
<script type="text/javascript" src="/static/js/branch_renderer.js"></script>
<script type="text/javascript">
function go() {
var t = $("#changelog-inner");
var c = $("#changelog-graph");
c.height(t.height());
c.width(160);
t.css("margin-right", c.width());
if ($.browser.opera) {
/* This makes no sense to me, but it makes it work in 9.5 */
var k = document.createElement("canvas");
k.setAttribute("width", c.width());
k.setAttribute("height", t.height());
k.setAttribute("id", "graph");
document.getElementById('changesets-graph').appendChild(k);
} else {
var k = $("<canvas/>").attr("height", t.height()).attr("width", c.width()).attr("id", "graph").appendTo(c);
}
}
if ($.browser.safari) {
setTimeout(go, 50);
} else {
$(document).ready(go);
}
</script>
<!--[if IE]><script type='text/javascript' language='javascript' src='/static/js/excanvas.js'></script><![endif]-->
<script type="text/javascript">
var jsdata = [['a824a16590ab', [0, 1], [[0, 0, 1]]], ['f66bbdfff21c', [0, 1], [[0, 0, 1]]], ['5a8e6a59e941', [0, 1], [[0, 0, 1]]], ['03b9ef5340a5', [0, 1], [[0, 0, 1]]], ['3c783f11f612', [0, 1], [[0, 0, 1]]], ['89e29b6c55ee', [0, 1], [[0, 0, 1]]], ['a1d62cd4ce14', [0, 1], [[0, 0, 1]]], ['39f299cb5823', [0, 1], [[0, 0, 1]]], ['55b52f3676d2', [0, 1], [[0, 0, 1]]], ['5766eb816b99', [0, 1], [[0, 0, 1]]], ['3c240c9e2ecf', [0, 1], [[0, 0, 1]]], ['a64a5957a160', [0, 1], [[0, 0, 1]]], ['490c52e96d31', [0, 1], [[0, 0, 1]]], ['7c8bf942ac51', [0, 1], [[0, 0, 1]]], ['1a89902ec138', [0, 1], [[0, 0, 1]]]];
function render() {
var r = new BranchRenderer();
r.render(jsdata);
}
if ($.browser.safari) {
setTimeout(render, 51);
} else {
$(document).ready(render);
}
</script>
</div>