2012-10-25 08:51:13 +02:00
|
|
|
<!doctype html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>morris.js tests</title>
|
2013-11-09 17:50:32 +01:00
|
|
|
<link rel="stylesheet" href="../third_party/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" />
|
2013-11-09 17:50:32 +01:00
|
|
|
<script src="../third_party/jquery-1.8.2.min.js"></script>
|
|
|
|
<script type="text/javascript" src="../third_party/raphael-2.1.0.min.js"></script>
|
2012-10-25 08:51:13 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="mocha"></div>
|
|
|
|
|
2013-11-09 17:50:32 +01:00
|
|
|
<script type="text/javascript" src="../third_party/mocha-1.6.0.js"></script>
|
2012-10-25 08:51:13 +02:00
|
|
|
<script>
|
|
|
|
mocha.setup('bdd');
|
|
|
|
</script>
|
|
|
|
|
2013-11-09 17:50:32 +01:00
|
|
|
<script type="text/javascript" src="../third_party/chai-1.3.0.js"></script>
|
|
|
|
<script type="text/javascript" src="../third_party/chai-jquery-1.1.0.js"></script>
|
|
|
|
<script type="text/javascript" src="../third_party/sinon-1.5.0.js"></script>
|
|
|
|
<script type="text/javascript" src="../third_party/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>
|