2012-02-04 18:02:31 +04:00
|
|
|
<%= javascript_include_tag 'raphael.js' %>
|
|
|
|
<%= javascript_include_tag 'revision_graph.js' %>
|
2011-11-03 15:36:12 +04:00
|
|
|
|
2012-02-04 18:02:31 +04:00
|
|
|
<script type="text/javascript" charset="utf-8">
|
|
|
|
Event.observe(window, 'load', function(){
|
2012-02-05 15:51:43 +04:00
|
|
|
revisionGraph(
|
2012-02-11 18:57:44 +04:00
|
|
|
document.getElementById('holder'),
|
|
|
|
<%= commits.to_json.html_safe %>,
|
|
|
|
<%= space %>);
|
2012-02-04 18:02:31 +04:00
|
|
|
});
|
2011-11-03 15:36:12 +04:00
|
|
|
</script>
|
|
|
|
|
2012-02-11 18:57:44 +04:00
|
|
|
<div id="holder" class="revision-graph" style="width: <%= (space + 1) * 20 %>px;"></div>
|