Updated jQuery to use Google CDN

Just updated http://eclipsebook.in/ to use jQuery from Google CDN

As of now, I don’t know how much difference would it make to end user. But I am just crossing my fingers that it does not break anything.  Do send me message, if you find anything broken.

By the way, if any one of you want to do the same on your sphinx page, I am sharing the patch/quick hack for the html template.

 

{%- if not embedded -%}
<script type=”text/javascript”>var DOCUMENTATION_OPTIONS = {URL_ROOT: ‘{{ url_root }}’,VERSION: ‘{{ release|e }}’,COLLAPSE_INDEX: false,FILE_SUFFIX: ‘{{ ” if no_search_suffix else file_suffix }}’,HAS_SOURCE: {{ has_source|lower }}};</script>
+<script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js”></script>
{%- for scriptfile in script_files -%}
+{%- if scriptfile != ‘_static/jquery.js’ -%}
<script type=”text/javascript” src=”{{ pathto(scriptfile, 1) }}”></script>
+{%- endif -%}
{%- endfor -%}