forked from orbit-oss/flask
Finished jQuery example documentation.
This commit is contained in:
parent
6e2be6a0b3
commit
a99e408bd1
3 changed files with 119 additions and 13 deletions
10
examples/jqueryexample/templates/layout.html
Normal file
10
examples/jqueryexample/templates/layout.html
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<!doctype html>
|
||||
<title>jQuery Example</title>
|
||||
<script type=text/javascript
|
||||
src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
|
||||
<script type=text/javascript src="{{ url_for('static', filename='app.js')
|
||||
}}"></script>
|
||||
<script type=text/javascript>
|
||||
var $SCRIPT_ROOT = {{ request.script_root|tojson|safe }};
|
||||
</script>
|
||||
{% block body %}{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue