##// END OF EJS Templates
graph: fix JavaScript issues to make it work on IE
Benoit Allard -
r6733:936a9073 default
parent child Browse files
Show More
@@ -54,8 +54,8 b''
54 54
55 55 document.getElementById('noscript').style.display = 'none';
56 56
57 data = {jsdata|json};
58 graph = new Graph();
57 var data = {jsdata|json};
58 var graph = new Graph();
59 59 graph.scale({bg_height});
60 60
61 61 graph.edge = function(x0, y0, x1, y1, color) {
@@ -46,8 +46,8 b' graph |'
46 46
47 47 document.getElementById('noscript').style.display = 'none';
48 48
49 data = {jsdata|json};
50 graph = new Graph();
49 var data = {jsdata|json};
50 var graph = new Graph();
51 51 graph.scale({bg_height});
52 52
53 53 graph.edge = function(x0, y0, x1, y1, color) {
@@ -4,6 +4,7 b''
4 4 href="#url#atom-tags" title="Atom feed for #repo|escape#: tags">
5 5 <link rel="alternate" type="application/rss+xml"
6 6 href="#url#rss-tags" title="RSS feed for #repo|escape#: tags">
7 <!--[if IE]><script type="text/javascript" src="#staticurl#excanvas.js"></script><![endif]-->
7 8 </head>
8 9 <body>
9 10
@@ -39,8 +40,8 b' navigate: <small class="navigate">#chang'
39 40
40 41 document.getElementById('noscript').style.display = 'none';
41 42
42 data = {jsdata|json};
43 graph = new Graph();
43 var data = {jsdata|json};
44 var graph = new Graph();
44 45 graph.scale({bg_height});
45 46
46 47 graph.edge = function(x0, y0, x1, y1, color) {
General Comments 0
You need to be logged in to leave comments. Login now