Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: sky/tests/resources/mocha.sky

Issue 758113003: Mocha shouldn't wait for an animation frame (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698