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

11 lines
366 B
Plaintext
Raw Normal View History

= javascript_include_tag "//ajax.googleapis.com/ajax/libs/jquery/#{ local_jquery("1.5.1") }"
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'))
= include_javascripts :application
2011-03-09 13:13:36 +00:00
-# Append your own using content_for :javascripts
= yield :javascripts