use google's jquery within current protocol (http/https)

This commit is contained in:
danielvincent 2010-11-17 22:36:01 -08:00
parent f01fca1877
commit eda346e283

View file

@ -24,7 +24,7 @@
= include_stylesheets :default, :media => 'all'
= javascript_include_tag "http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"
= javascript_include_tag "//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"
:javascript
!window.jQuery && document.write(unescape('%3Cscript src="js/libs/jquery-1.4.4.js"%3E%3C/script%3E'))