Skip to content
Myr

Merge pull request #702 from edburnett/master

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

AJAX with jQuery documentation update

authored by Armin Ronacher · committed by Armin Ronacher · parents 6a8acc1, 02150c0 · Browse files · 2 files+3 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

2 files+3 added−2 removed

  • other:+3 added−2 removed

2 files+3 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
modified:AUTHORS+1 added
26 unmodified lines
27- Simon Sapin28- Stephane Wirtel29- Thomas Schranz30- Zhao Xiaohong31- Edmond Burnett