Skip to content

Commit

Permalink
Merge pull request mochajs#381 from brendannee/issue158
Browse files Browse the repository at this point in the history
Fixes mochajs#158: removes jquery include from browser tests
  • Loading branch information
tj committed Apr 13, 2012
2 parents 9714973 + 71f3962 commit 5dc8ffb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 4 additions & 3 deletions test/browser/large.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<title>Mocha</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="style.css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js" type="text/javascript"></script>
<script src="../../mocha.js"></script>
<script>mocha.setup('bdd')</script>
<script>
Expand All @@ -13,10 +12,12 @@
</script>
<script src="large.js"></script>
<script>
onload = mocha.run;
onload = function(){
var runner = mocha.run();
};
</script>
</head>
<body>
<div id="mocha"></div>
</body>
</html>
</html>
4 changes: 3 additions & 1 deletion test/browser/opts.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
<script src="opts.js"></script>
<script src="../acceptance/globals.js"></script>
<script>
onload = mocha.run;
onload = function(){
var runner = mocha.run();
};
</script>
</head>
<body>
Expand Down

0 comments on commit 5dc8ffb

Please sign in to comment.