| 1 |
<!DOCTYPE html> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<title>tv4-min</title> |
| 5 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 6 |
<link rel="stylesheet" href="./deps/mocha.css"/> |
| 7 |
<script src="./deps/jquery.js"></script> |
| 8 |
<script src="./deps/mocha.js"></script> |
| 9 |
<script src="./deps/proclaim.js"></script> |
| 10 |
<script src="../tv4.min.js"></script> |
| 11 |
<script> |
| 12 |
//save globals so tests can be shared between node an browsers |
| 13 |
window.refs = {tv4:tv4, assert:proclaim}; |
| 14 |
mocha.setup('bdd'); |
| 15 |
window.onload = function () { |
| 16 |
if (navigator.userAgent.indexOf('PhantomJS') < 0) { |
| 17 |
mocha.run(); |
| 18 |
} |
| 19 |
}; |
| 20 |
</script> |
| 21 |
<script src="./all_concat.js"></script> |
| 22 |
</head> |
| 23 |
<body> |
| 24 |
<div id="mocha"></div> |
| 25 |
</body> |
| 26 |
</html> |