Mercurial > MadButterfly
comparison nodejs/testcase.js @ 725:cb50ce5912ac
Merge from the thinker's head
author | wycc |
---|---|
date | Mon, 16 Aug 2010 07:33:51 +0800 |
parents | d950487bd9f9 |
children | 163f0d9e6382 |
comparison
equal
deleted
inserted
replaced
724:503f3d18248e | 725:cb50ce5912ac |
---|---|
55 var i = 0; | 55 var i = 0; |
56 setInterval(function() { | 56 setInterval(function() { |
57 var deg = (i++) * 0.1; | 57 var deg = (i++) * 0.1; |
58 coord[2] = (i % 40) * 5; | 58 coord[2] = (i % 40) * 5; |
59 mb_rt.redraw_changed(); | 59 mb_rt.redraw_changed(); |
60 mb_rt.flush(); | 60 //mb_rt.flush(); |
61 }, 20); | 61 }, 20); |
62 setTimeout(function() { sys.puts("timeout"); }, 1000); | 62 setTimeout(function() { sys.puts("timeout"); }, 1000); |
63 | 63 |
64 sys.puts(root.mouse_event); | 64 sys.puts(root.mouse_event); |
65 var observer; | 65 var observer; |