Permalink
Browse files

Merge pull request #11 from gordonslondon/patch-1

Fixed example in README.md
  • Loading branch information...
2 parents 74b97a5 + 2d79e46 commit 9dc978e1e5d4bd6267672241029be37202465f6b @metaskills metaskills committed Oct 4, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 README.md
View
@@ -47,7 +47,8 @@ Your HTML file structure should look something like this. The reporter set below
</script>
<script src="test/mycode.js"></script>
<script>
- if (!window.mochaPhantomJS) { mocha.run(); }
+ if (window.mochaPhantomJS) { mochaPhantomJS.run(); }
+ else { mocha.run(); }
</script>
</body>
</html>

0 comments on commit 9dc978e

Please sign in to comment.