14 lines
419 B
Plaintext
14 lines
419 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 %>,
|
|
<%= space %>);
|
|
});
|
|
</script>
|
|
|
|
<div id="holder" class="revision-graph" style="width: <%= (space + 1) * 20 %>px;"></div>
|