diff options
Diffstat (limited to 'app/views/repositories')
-rw-r--r-- | app/views/repositories/_revision_graph.html.erb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/repositories/_revision_graph.html.erb b/app/views/repositories/_revision_graph.html.erb index 1e900bf23..de3d9a6f7 100644 --- a/app/views/repositories/_revision_graph.html.erb +++ b/app/views/repositories/_revision_graph.html.erb @@ -1,5 +1,3 @@ -<%= javascript_include_tag 'raphael.js' %> -<%= javascript_include_tag 'revision_graph.js' %> <script type="text/javascript" charset="utf-8"> function revisionGraphHandler(){ drawRevisionGraph( @@ -12,3 +10,8 @@ $(document).ready(revisionGraphHandler); $(window).resize(revisionGraphHandler); </script> <div id="holder" class="revision-graph"></div> + +<% content_for :header_tags do %> + <%= javascript_include_tag 'raphael' %> + <%= javascript_include_tag 'revision_graph' %> +<% end %> |