animation-timer
Version:
Low level, lightweight and precise animation utility. Your tick handlers get a duration between 0-1. That's it.
33 lines (30 loc) • 863 B
HTML
<html lang="en-us">
<head>
<title>animator-core tests</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
</head>
<body>
<div id="mocha"></div>
<!-- load and configure mocha -->
<script src="../node_modules/mocha/mocha.js"></script>
<script>;
mocha.setup('bdd')
mocha.slow(1000)
mocha.timeout(3000)
</script>
<!-- load test suite -->
<script src="browserified_tests.js"></script>
<!-- kick of tests -->
<script>
if (window.mochaPhantomJS) {
window.mochaPhantomJS.run()
} else {
mocha.run()
}
</script>
</body>
</html>