Mercurial > hg > soundsoftware-site
annotate .svn/pristine/23/234b04ce45c5af02990560943c7a01a17b8c1584.svn-base @ 1327:287f201c2802 redmine-2.2-integration
Add italic
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 19 Jun 2013 20:56:22 +0100 |
parents | 038ba2d95de8 |
children |
rev | line source |
---|---|
Chris@1296 | 1 <%= javascript_tag do %> |
Chris@1296 | 2 function revisionGraphHandler(){ |
Chris@1296 | 3 drawRevisionGraph( |
Chris@1296 | 4 document.getElementById('holder'), |
Chris@1296 | 5 <%= commits.to_json.html_safe %>, |
Chris@1296 | 6 <%= space %> |
Chris@1296 | 7 ); |
Chris@1296 | 8 } |
Chris@1296 | 9 $(document).ready(revisionGraphHandler); |
Chris@1296 | 10 $(window).resize(revisionGraphHandler); |
Chris@1296 | 11 <% end %> |
Chris@1296 | 12 |
Chris@1296 | 13 <div id="holder" class="revision-graph"></div> |
Chris@1296 | 14 |
Chris@1296 | 15 <% content_for :header_tags do %> |
Chris@1296 | 16 <%= javascript_include_tag 'raphael' %> |
Chris@1296 | 17 <%= javascript_include_tag 'revision_graph' %> |
Chris@1296 | 18 <% end %> |