OLD | NEW |
1 <script> | 1 <script> |
2 | 2 |
3 // FIXME: This really could be trimmed down from all the generic and commonjs cr
ap. | 3 // FIXME: This really could be trimmed down from all the generic and commonjs cr
ap. |
4 | 4 |
5 ;(function(){ | 5 ;(function(){ |
6 | 6 |
7 // CommonJS require() | 7 // CommonJS require() |
8 | 8 |
9 function require(p){ | 9 function require(p){ |
10 var path = require.resolve(p) | 10 var path = require.resolve(p) |
(...skipping 2423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2434 | 2434 |
2435 Mocha.process = process; | 2435 Mocha.process = process; |
2436 })(); | 2436 })(); |
2437 | 2437 |
2438 </script> | 2438 </script> |
2439 <script> | 2439 <script> |
2440 | 2440 |
2441 mocha.setup(); | 2441 mocha.setup(); |
2442 | 2442 |
2443 window.addEventListener('load', function() { | 2443 window.addEventListener('load', function() { |
2444 requestAnimationFrame(function() { | 2444 setTimeout(function() { |
2445 mocha.run(); | 2445 mocha.run(); |
2446 }); | 2446 }); |
2447 }) | 2447 }) |
2448 | 2448 |
2449 </script> | 2449 </script> |
OLD | NEW |