Home page Forum Wiki Mail Jabber Devel NIX-FILES

AltLUG Git

Git-repositories of Altai Linux User Group

Add a test for loading tests asynchronously
[qunit.git] / test / async.html
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         setTimeout(function() {
15                 // Simulate a delay in retrieving the tests, as when they are loaded
16                 // asynchronously using requirejs, steal, etc.
17                 var script = document.createElement( "script" );
18                 script.src = "async.js";
19                 document.getElementsByTagName( "head" )[0].appendChild( script );
20         }, 1000);
21         </script>
22 </body>
23 </html>

Hosting is provided AltSPAHow to use Git
Please direct any questions on jabber alex.wolf@jabber.ru

Valid HTML 4.0 Transitional Valid CSS!

Designer Alexander Wolf