mirror of
https://github.com/morrisjs/morris.js.git
synced 2024-11-10 21:36:34 +01:00
32 lines
881 B
HTML
32 lines
881 B
HTML
<!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" />
|
|
<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>
|
|
<script>
|
|
should = chai.should();
|
|
</script>
|
|
|
|
<script type="text/javascript" src="../morris.js"></script>
|
|
<script type="text/javascript" src="../build/spec.js"></script>
|
|
<div id="test" style="visibility: hidden"></div>
|
|
<script>
|
|
if (navigator.userAgent.indexOf('PhantomJS') < 0) {
|
|
mocha.run();
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|