Re:6,953 reasons why I still let Google host jQuery for me
by endlessvoid94 on Tuesday September 21, 2010 @03:34PM
(#1713808)
damn, my solution was to host it locally. how did i blatantly not try this?
[ Parent
| on HN ]
Re:6,953 reasons why I still let Google host jQuery for me
by seiji on Tuesday September 21, 2010 @03:39PM
(#1713834)
Everybody could use protocol relative URLs with the google CDN to simplify things:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>
Re:6,953 reasons why I still let Google host jQuery for me
by endlessvoid94 on Tuesday September 21, 2010 @03:45PM
(#1713850)
I learn something new every day.
Re:6,953 reasons why I still let Google host jQuery for me
by dasil003 on Tuesday September 21, 2010 @03:57PM
(#1713883)
holy shit! Is that universally supported?
Re:6,953 reasons why I still let Google host jQuery for me
by ktsmith on Tuesday September 21, 2010 @04:11PM
(#1713938)
Yes, but there's bugs when used with stylesheets in IE7 & IE8
http://www.stevesouders.com/blog/2010/02/10/5a-missing-schem...
Re:6,953 reasons why I still let Google host jQuery for me
by threepointone on Tuesday September 21, 2010 @05:41PM
(#1714203)
Many thanks you just saved me from some ugly code I was using to check for http/https; this method is FAR more elegant.