Mercurial > MadButterfly
view 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 |
line wrap: on
line source
var mbfly = require("mbfly"); var r = mbfly.Hello(" test"); var sys = require("sys"); sys.puts(r); var mb_rt = new mbfly.mb_rt(":0.0", 300, 200); sys.puts(mb_rt.root); setTimeout(function() { sys.puts("timeout"); }, 1000);