This commit is contained in:
Éric Lemoine
2013-02-20 10:38:25 +01:00
parent 17c3936ab6
commit 5d14b9e2d4
1919 changed files with 559755 additions and 2588 deletions

View File

@@ -0,0 +1,34 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Testing dojo.addOnLoad()</title>
<script type="text/javascript" src="../../../dojo.js"></script>
<script type="text/javascript">
dojo.addOnLoad(function(){
console.log("addOnLoad(func) works");
});
// to test fastback, uncomment the next block and watch your server
// logs vs. with this block commented out. Browsers that support
// fastback should not re-request the resources when this block is
// commented it but will do so when addOnUnload is firing
/*
dojo.addOnUnLoad(function(){
console.log("addOnUnLoad(func) works");
});
*/
</script>
</head>
<body>
<h1>Testing dojo.addOnLoad() to determine if fastback is working</h1>
<p>
click one of the links below to try it out and then hit your back
button. Watch your server logs to see what's going on and view
source to understand the test.
</p>
<a href="http://dojotoolkit.org">The Dojo Toolkit</a><br>
<a href="http://dojocampus.org">Dojo Campus</a><br>
<a href="http://google.com">Google</a><br>
</body>
</html>