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-04 18:02:31 +04:00
|
|
|
document.getElementById("holder"),
|
|
|
|
<%= commits.to_json.html_safe %>);
|
|
|
|
});
|
2011-11-03 15:36:12 +04:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<div id="holder" class="graph"></div>
|