##// 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 document.getElementById('noscript').style.display = 'none';
55 document.getElementById('noscript').style.display = 'none';
56
56
57 data = {jsdata|json};
57 var data = {jsdata|json};
58 graph = new Graph();
58 var graph = new Graph();
59 graph.scale({bg_height});
59 graph.scale({bg_height});
60
60
61 graph.edge = function(x0, y0, x1, y1, color) {
61 graph.edge = function(x0, y0, x1, y1, color) {
@@ -46,8 +46,8 b' graph |'
46
46
47 document.getElementById('noscript').style.display = 'none';
47 document.getElementById('noscript').style.display = 'none';
48
48
49 data = {jsdata|json};
49 var data = {jsdata|json};
50 graph = new Graph();
50 var graph = new Graph();
51 graph.scale({bg_height});
51 graph.scale({bg_height});
52
52
53 graph.edge = function(x0, y0, x1, y1, color) {
53 graph.edge = function(x0, y0, x1, y1, color) {
@@ -4,6 +4,7 b''
4 href="#url#atom-tags" title="Atom feed for #repo|escape#: tags">
4 href="#url#atom-tags" title="Atom feed for #repo|escape#: tags">
5 <link rel="alternate" type="application/rss+xml"
5 <link rel="alternate" type="application/rss+xml"
6 href="#url#rss-tags" title="RSS feed for #repo|escape#: tags">
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 </head>
8 </head>
8 <body>
9 <body>
9
10
@@ -39,8 +40,8 b' navigate: <small class="navigate">#chang'
39
40
40 document.getElementById('noscript').style.display = 'none';
41 document.getElementById('noscript').style.display = 'none';
41
42
42 data = {jsdata|json};
43 var data = {jsdata|json};
43 graph = new Graph();
44 var graph = new Graph();
44 graph.scale({bg_height});
45 graph.scale({bg_height});
45
46
46 graph.edge = function(x0, y0, x1, y1, color) {
47 graph.edge = function(x0, y0, x1, y1, color) {
General Comments 0
You need to be logged in to leave comments. Login now