2012-02-04 18:02:31 +04:00
|
|
|
<%= javascript_include_tag 'raphael.js' %>
|
|
|
|
<%= javascript_include_tag 'revision_graph.js' %>
|
|
|
|
<script type="text/javascript" charset="utf-8">
|
2012-07-22 17:29:26 +04:00
|
|
|
function revisionGraphHandler(){
|
|
|
|
drawRevisionGraph(
|
|
|
|
document.getElementById('holder'),
|
|
|
|
<%= commits.to_json.html_safe %>,
|
|
|
|
<%= space %>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
$(document).ready(revisionGraphHandler);
|
|
|
|
$(window).resize(revisionGraphHandler);
|
2011-11-03 15:36:12 +04:00
|
|
|
</script>
|
2012-02-14 10:27:23 +04:00
|
|
|
<div id="holder" class="revision-graph"></div>
|