2012-10-25 08:51:13 +02:00
|
|
|
<!doctype html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>morris.js tests</title>
|
|
|
|
<link rel="stylesheet" href="vendor/mocha-1.6.0.css" type="text/css" media="screen" />
|
2012-12-07 20:04:21 +01:00
|
|
|
<link rel="stylesheet" href="../morris.css" type="text/css" media="screen" />
|
2012-10-25 08:51:13 +02:00
|
|
|
<script src="vendor/jquery-1.8.2.min.js"></script>
|
|
|
|
<script type="text/javascript" src="vendor/raphael-2.1.0.min.js"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="mocha"></div>
|
|
|
|
|
|
|
|
<script type="text/javascript" src="vendor/mocha-1.6.0.js"></script>
|
|
|
|
<script>
|
|
|
|
mocha.setup('bdd');
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script type="text/javascript" src="vendor/chai-1.3.0.js"></script>
|
2012-12-07 20:04:21 +01:00
|
|
|
<script type="text/javascript" src="vendor/chai-jquery-1.1.0.js"></script>
|
2012-11-08 13:54:57 +01:00
|
|
|
<script type="text/javascript" src="vendor/sinon-1.5.0.js"></script>
|
|
|
|
<script type="text/javascript" src="vendor/sinon-chai-2.1.2.js"></script>
|
2012-10-25 08:51:13 +02:00
|
|
|
<script>
|
|
|
|
should = chai.should();
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script type="text/javascript" src="../morris.js"></script>
|
|
|
|
<script type="text/javascript" src="../build/spec.js"></script>
|
2012-12-07 20:04:21 +01:00
|
|
|
<div id="test" style="width: 400px; height: 200px;"></div>
|
2012-10-25 08:51:13 +02:00
|
|
|
<script>
|
|
|
|
if (navigator.userAgent.indexOf('PhantomJS') < 0) {
|
|
|
|
mocha.run();
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|