Skip to content
Myr

Updated jquery.rst with the current Google Developer hosted libraries URL and jquery version

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Ed Burnett · committed by Ed Burnett · parent 4366bb3 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/patterns/jquery.rst+2 added-2 removed
29 unmodified lines
30 <script type=text/javascript src="{{31 url_for('static', filename='jquery.js') }}"></script>3233Another method is using Google's `AJAX Libraries API34<http://code.google.com/apis/ajaxlibs/documentation/>`_ to load jQuery:34<https://developers.google.com/speed/libraries/devguide>`_ to load jQuery:3536.. sourcecode:: html3738 <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.js"></script>38 <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>39 <script>window.jQuery || document.write('<script src="{{40 url_for('static', filename='jquery.js') }}">\x3C/script>')</script>4142In this case you have to put jQuery into your static folder as a fallback, but it will
125 unmodified lines