comparison nodejs/testcase.js @ 697:6ddc8b42188f

Merge from HEAD
author wycc
date Mon, 09 Aug 2010 16:43:27 +0800
parents f46a0771fd30 8b7964869f7a
children 0b98bdc53215
comparison
equal deleted inserted replaced
696:f46a0771fd30 697:6ddc8b42188f
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 % 20) * 10; 58 coord[2] = (i % 20) * 10;
59 mb_rt.redraw_changed(); 59 mb_rt.redraw_changed();
60 mb_rt.flush();
60 }, 20); 61 }, 20);
61 setTimeout(function() { sys.puts("timeout"); }, 1000); 62 setTimeout(function() { sys.puts("timeout"); }, 1000);
62 63
63 sys.puts(root.mouse_event); 64 sys.puts(root.mouse_event);
64 var observer; 65 var observer;