Sha256: 251c3ac904fcc9c165dcd4108498e213cdb2329a91838308cc60ea73a3d03657

Contents?: true

Size: 1.13 KB

Versions: 8

Compression:

Stored size: 1.13 KB

Contents

<!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>

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
dojo_rails-0.0.2 vendor/assets/javascripts/dojo/tests/_base/loader/fastbackTest.html
dojo_rails-0.0.1 vendor/assets/javascripts/dojo/tests/_base/loader/fastbackTest.html
dojo_src-1.5.0 dojo/dojo/tests/_base/_loader/fastbackTest.html
dojo_src-1.4.3 dojo/dojo/tests/_base/_loader/fastbackTest.html
dojo_src-1.4.102 dojo/dojo/tests/_base/_loader/fastbackTest.html
dojo-pkg-1.132.0 data/dojo-release-1.3.2-src/dojo/tests/_base/_loader/fastbackTest.html
dojo-pkg-1.130.0 data/dojo-release-1.3.0-src/dojo/tests/_base/_loader/fastbackTest.html
dojo-pkg-1.131.0 data/dojo-release-1.3.1-src/dojo/tests/_base/_loader/fastbackTest.html