Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add runner.html and ditch Node.js 0.6.0 support
- Loading branch information
Showing
2 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
language: node_js | ||
node_js: | ||
- 0.6 | ||
- 0.8 | ||
- 0.10 | ||
- "0.10" | ||
|
||
script: npm test | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>objects in browser</title> | ||
<link rel="stylesheet" href="../node_modules/mocha/mocha.css"> | ||
<style type="text/css"> | ||
#fixtures { | ||
display: none; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="mocha"></div> | ||
<div id="fixtures"></div> | ||
<script src="../browser/objects.js"></script> | ||
<script src="http://chaijs.com/chai.js"></script> | ||
<script src="../node_modules/mocha/mocha.js"></script> | ||
<script>mocha.setup('bdd');</script> | ||
<script> | ||
if (window.mochaPhantomJS) { | ||
mochaPhantomJS.run(); | ||
} else { | ||
mocha.checkLeaks(); | ||
mocha.run(); | ||
} | ||
</script> | ||
</body> | ||
</html> |