async.html 672 B

1234567891011121314151617181920212223242526
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>QUnit Test Suite</title>
  6. <link rel="stylesheet" href="../qunit/qunit.css">
  7. </head>
  8. <body>
  9. <div id="qunit"></div>
  10. <div id="qunit-fixture">test markup</div>
  11. <script src="../qunit/qunit.js"></script>
  12. <script>
  13. QUnit.config.autostart = false;
  14. // Simulate a delay in loading the tests, as when they are loaded
  15. // asynchronously using requirejs, steal, etc.
  16. setTimeout(function() {
  17. var script = document.createElement( "script" );
  18. script.src = "async.js";
  19. document.getElementsByTagName( "head" )[0].appendChild( script );
  20. }, 1000);
  21. </script>
  22. <script src="swarminject.js"></script>
  23. </body>
  24. </html>