rosa-build/app/views/layouts/_javascripts.html.haml

13 lines
478 B
Plaintext
Raw Normal View History

2011-03-31 00:50:47 +01:00
= javascript_include_tag(Rails.env.production? ? 'https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js' : 'jquery.min.js')
2011-03-09 13:13:36 +00:00
-# fall back to local jQuery if necessary
:javascript
!window.jQuery && document.write(unescape('%3Cscript src="/javascripts/jquery.min.js"%3E%3C/script%3E'))
2011-04-15 14:20:48 +01:00
-#= include_javascripts :application
= javascript_include_tag "jrails", "application", "drop_down_menu"
2011-03-09 13:13:36 +00:00
-# Append your own using content_for :javascripts
= yield :javascripts