Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

load working copy of async module after nodeunit in browser tests

  • Loading branch information...
commit 051e1b2608e129d661d4665671e28edf7c89285c 1 parent 828fa89
@caolan caolan authored
Showing with 4 additions and 8 deletions.
  1. +4 −8 test/test.html
View
12 test/test.html
@@ -1,16 +1,12 @@
<html>
<head>
<title>Async.js tests</title>
- <!-- There are some awkward cross-dependencies here, nodeunit uses async
- internally and the browser version of async will be added to the
- global namespace. Because of this we only include nodeunit and it
- runs tests against the async lib bundled with that. If you make
- changes to async.js and want to test them you must also make a new
- nodeunit build for now...
-
- <script src="../lib/async.js"></script>
+ <!--
+ async must be included after nodeunit because nodeunit already uses
+ the async lib internally and will overwrite the version we want to test
-->
<script src="../deps/nodeunit.js"></script>
+ <script src="../lib/async.js"></script>
<script>
var _async = this.async;
this.require = function () { return _async; };
Please sign in to comment.
Something went wrong with that request. Please try again.