Mercurial > MadButterfly
comparison nodejs/testcase.js @ 562:1b6402f07cd4 Android_Skia
Make root coord availabe for Javascript code
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Mon, 07 Jun 2010 14:45:01 +0800 |
parents | d61133da2845 |
children | bc207070e3d5 |
comparison
equal
deleted
inserted
replaced
561:a3c13c2a4792 | 562:1b6402f07cd4 |
---|---|
2 var r = mbfly.Hello(" test"); | 2 var r = mbfly.Hello(" test"); |
3 var sys = require("sys"); | 3 var sys = require("sys"); |
4 sys.puts(r); | 4 sys.puts(r); |
5 | 5 |
6 var mb_rt = new mbfly.mb_rt(":0.0", 300, 200); | 6 var mb_rt = new mbfly.mb_rt(":0.0", 300, 200); |
7 sys.puts(mb_rt.root); | |
7 | 8 |
8 setTimeout(function() { sys.puts("timeout"); }, 1000); | 9 setTimeout(function() { sys.puts("timeout"); }, 1000); |