Skip to content

Commit

Permalink
load working copy of async module after nodeunit in browser tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Caolan McMahon committed Nov 24, 2010
1 parent 828fa89 commit 051e1b2
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions test/test.html
@@ -1,16 +1,12 @@
<html> <html>
<head> <head>
<title>Async.js tests</title> <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 async must be included after nodeunit because nodeunit already uses
global namespace. Because of this we only include nodeunit and it the async lib internally and will overwrite the version we want to test
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>
--> -->
<script src="../deps/nodeunit.js"></script> <script src="../deps/nodeunit.js"></script>
<script src="../lib/async.js"></script>
<script> <script>
var _async = this.async; var _async = this.async;
this.require = function () { return _async; }; this.require = function () { return _async; };
Expand Down

0 comments on commit 051e1b2

Please sign in to comment.