Mercurial > MadButterfly
diff nodejs/testcase.js @ 563:bc207070e3d5 Android_Skia
Fix issue of im-properly using persistent handler for coord object template.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Mon, 07 Jun 2010 17:24:46 +0800 |
parents | 1b6402f07cd4 |
children | c0bc60448913 |
line wrap: on
line diff
--- a/nodejs/testcase.js Mon Jun 07 14:45:01 2010 +0800 +++ b/nodejs/testcase.js Mon Jun 07 17:24:46 2010 +0800 @@ -4,6 +4,11 @@ sys.puts(r); var mb_rt = new mbfly.mb_rt(":0.0", 300, 200); -sys.puts(mb_rt.root); +var root = mb_rt.root; +sys.puts("root matrix: " + + [root[0], root[1], root[2], root[3], root[4], root[5]]); +var coord = mb_rt.coord_new(root); +sys.puts("coord matrix: " + + [coord[0], coord[1], coord[2], coord[3], coord[4], coord[5]]); setTimeout(function() { sys.puts("timeout"); }, 1000);