topical media & game development
mobile-query-three-tests-index.htm / htm
<html>
<head>
<meta charset="utf-8">
<title>Mocha Tests</title>
<link rel="stylesheet" href="vendor/mocha.css" />
<script src="vendor/jquery.min.js"></script>
<script src="vendor/mocha.js"></script>
<script>mocha.setup('bdd')</script>
<script>
console.assert = function(expr, msg) {
if( expr ) return;
throw new Error(msg || 'failed');
}
</script>
<script src="../build/tquery-bundle.js"></script>
<!-- list all the tests here -->
<script src="tests/tquery.world-test.js"></script>
<script src="../plugins/dollar3d/tquery.dollar3d.js"></script>
<script src="../plugins/dollar3d/tests/tquery.dollar3d.test.js"></script>
<script>
jQuery(function () {
mocha.run()
.globals(['foo', 'bar']) // acceptable globals
});
</script>
</head>
<body>
<div id="container"></div>
<div id="mocha"></div>
</body>
</html>
(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.