13 lines
346 B
Plaintext
13 lines
346 B
Plaintext
<%= javascript_include_tag 'raphael.js' %>
|
|
<%= javascript_include_tag 'revision_graph.js' %>
|
|
|
|
<script type="text/javascript" charset="utf-8">
|
|
Event.observe(window, 'load', function(){
|
|
revisionGraph(
|
|
document.getElementById("holder"),
|
|
<%= commits.to_json.html_safe %>);
|
|
});
|
|
</script>
|
|
|
|
<div id="holder" class="graph"></div>
|