changeset 6733 | 936a9073bb73 |
parent 6729 | 855851eae70f |
child 7124 | 63579aa36c8e |
--- a/templates/gitweb/graph.tmpl Wed Jun 25 10:54:48 2008 +0200 +++ b/templates/gitweb/graph.tmpl Wed Jun 25 20:50:40 2008 +0200 @@ -46,8 +46,8 @@ document.getElementById('noscript').style.display = 'none'; -data = {jsdata|json}; -graph = new Graph(); +var data = {jsdata|json}; +var graph = new Graph(); graph.scale({bg_height}); graph.edge = function(x0, y0, x1, y1, color) {