mirror of
https://github.com/morrisjs/morris.js.git
synced 2024-11-14 07:41:11 +01:00
c1264caa61
Move scripts from spec/lib into third_party, update references.
35 lines
1.2 KiB
HTML
35 lines
1.2 KiB
HTML
<!doctype html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>morris.js tests</title>
|
|
<link rel="stylesheet" href="../third_party/mocha-1.6.0.css" type="text/css" media="screen" />
|
|
<link rel="stylesheet" href="../morris.css" type="text/css" media="screen" />
|
|
<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>
|
|
</head>
|
|
<body>
|
|
<div id="mocha"></div>
|
|
|
|
<script type="text/javascript" src="../third_party/mocha-1.6.0.js"></script>
|
|
<script>
|
|
mocha.setup('bdd');
|
|
</script>
|
|
|
|
<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>
|
|
<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="width: 400px; height: 200px;"></div>
|
|
<script>
|
|
if (navigator.userAgent.indexOf('PhantomJS') < 0) {
|
|
mocha.run();
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|