projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
spelling fixes
[dygraphs.git]
/
auto_tests
/
runner.html
diff --git
a/auto_tests/runner.html
b/auto_tests/runner.html
index
7102a95
..
7ceb0d0
100644
(file)
--- a/
auto_tests/runner.html
+++ b/
auto_tests/runner.html
@@
-3,14
+3,12
@@
<meta charset="utf-8">
<title>dygraphs tests</title>
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
<meta charset="utf-8">
<title>dygraphs tests</title>
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
+ <link rel="stylesheet" href="../css/dygraph.css" />
</head>
<body>
<div id="graph"></div>
<div id="mocha"></div>
</head>
<body>
<div id="graph"></div>
<div id="mocha"></div>
- <!-- Polyfills for PhantomJS -->
- <script src="../node_modules/babel-core/browser-polyfill.js"></script>
-
<!-- Mocha -->
<script src="../node_modules/mocha/mocha.js"></script>
<script src="../node_modules/chai/chai.js"></script>
<!-- Mocha -->
<script src="../node_modules/mocha/mocha.js"></script>
<script src="../node_modules/chai/chai.js"></script>
@@
-56,7
+54,11
@@
<script>
mocha.checkLeaks();
<script>
mocha.checkLeaks();
- mocha.run();
+ if (window.mochaPhantomJS) {
+ mochaPhantomJS.run();
+ } else {
+ mocha.run();
+ }
</script>
</body>
</html>
</script>
</body>
</html>