Permalink
Browse files

move javascript into head

  • Loading branch information...
1 parent 303d3ee commit 132b6080dda24933982c26238960089a6debb399 @timoschilling timoschilling committed Sep 23, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 app/views/layouts/dj_mon.html.haml
View
6 app/views/layouts/dj_mon.html.haml
@@ -1,8 +1,10 @@
!!! 5
%html
%head{:lang => "en"}
- = stylesheet_link_tag "dj_mon", :media => "screen, projection"
%meta{:name => "apple-itunes-app", :content => "app-id=552732872"}
+ = stylesheet_link_tag "dj_mon", :media => "screen, projection"
+ = javascript_include_tag "//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"
+ = javascript_include_tag "dj_mon"
= yield :head
%body
@@ -26,8 +28,6 @@
.container
= yield
- = javascript_include_tag "//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"
- = javascript_include_tag "dj_mon"
%script
var dj_counts_dj_reports_url = "#{dj_counts_dj_reports_url}"

0 comments on commit 132b608

Please sign in to comment.