diff options
| author | Aymeric Augustin | 2013-10-14 22:19:05 +0200 | 
|---|---|---|
| committer | Aymeric Augustin | 2013-10-14 23:30:04 +0200 | 
| commit | f8538b692e0b209015e95655591be4f6bb3eec33 (patch) | |
| tree | 5c36d4363f733a811ee95f85ba40a357e6851cc4 /example/templates | |
| parent | f4699b2333aa42024fce0f75c33cec7412747faf (diff) | |
| download | django-debug-toolbar-f8538b692e0b209015e95655591be4f6bb3eec33.tar.bz2 | |
Update versions of JavaScript libraries.
Use Google's hosted libraries instead of vendoring. This is just for
testing purposes and browser caching will help after the first access.
Diffstat (limited to 'example/templates')
| -rw-r--r-- | example/templates/index.html | 7 | ||||
| -rw-r--r-- | example/templates/jquery/index.html | 4 | ||||
| -rw-r--r-- | example/templates/mootools/index.html | 2 | ||||
| -rw-r--r-- | example/templates/prototype/index.html | 2 | 
4 files changed, 7 insertions, 8 deletions
| diff --git a/example/templates/index.html b/example/templates/index.html index d7d8a2b..fd771e8 100644 --- a/example/templates/index.html +++ b/example/templates/index.html @@ -5,13 +5,12 @@      <title>Index of Tests</title>  </head>  <body> -      <h1>Index of Tests</h1>      {% cache 10 index_cache %}      <ul> -        <li><a href="/jquery/index/">jQuery 1.2.6</a></li> -        <li><a href="/mootools/index/">MooTools 1.2.4</a></li> -        <li><a href="/prototype/index/">Prototype 1.6.1</a></li> +        <li><a href="/jquery/">jQuery 2.0.3</a></li> +        <li><a href="/mootools/">MooTools 1.4.5</a></li> +        <li><a href="/prototype/">Prototype 1.7.1.0</a></li>      </ul>      {% endcache %}  </body> diff --git a/example/templates/jquery/index.html b/example/templates/jquery/index.html index 9cab242..20665c2 100644 --- a/example/templates/jquery/index.html +++ b/example/templates/jquery/index.html @@ -1,12 +1,12 @@  <html>  <head>  	<meta http-equiv="content-type" content="text/html; charset=utf-8"> -	<title>Old jQuery Test</title> +	<title>jQuery Test</title>  	<style>  	.hide {display:none;}  	#v {font-weight:bold;}  	</style> -	<script type="text/javascript" charset="utf-8" src="{{ STATIC_URL }}/js/jquery.js"></script> +	<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>  	<script type="text/javascript">  		$(document).ready(function() {  			$('p.hide').show(); diff --git a/example/templates/mootools/index.html b/example/templates/mootools/index.html index dde019d..047ea97 100644 --- a/example/templates/mootools/index.html +++ b/example/templates/mootools/index.html @@ -5,7 +5,7 @@  	<style>  	.hide {display:none;}  	</style> -	<script type="text/javascript" charset="utf-8" src="{{ STATIC_URL }}/js/mootools.js"></script> +	<script src="//ajax.googleapis.com/ajax/libs/mootools/1.4.5/mootools-yui-compressed.js"></script>  	<script type="text/javascript">  		window.addEvent('domready', function() {  			$$('p.hide').setStyle('display', 'block'); diff --git a/example/templates/prototype/index.html b/example/templates/prototype/index.html index bf3d0a5..b9a0ec8 100644 --- a/example/templates/prototype/index.html +++ b/example/templates/prototype/index.html @@ -5,7 +5,7 @@  	<style>  	.hide {display:none;}  	</style> -	<script type="text/javascript" charset="utf-8" src="{{ STATIC_URL }}/js/prototype.js"></script> +	<script src="//ajax.googleapis.com/ajax/libs/prototype/1.7.1.0/prototype.js"></script>  	<script type="text/javascript">  		document.observe('dom:loaded', function() {  			$('showme').removeClassName('hide'); | 
