Mercurial > MadButterfly
view nodejs/testcase.js @ 550:127499ab2412 Android_Skia
Upgrade ndoejs plugin to level of a new runtime.
Original, nodejs plugin is a variant of X runtime. But, now, I think
it had better a new runtime that reuse code of X runtime. It would be
easier to maintain.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sun, 06 Jun 2010 13:58:01 +0800 |
parents | 6ec4d7e90480 |
children | c9d23f7279a4 |
line wrap: on
line source
var mbfly = require("mbfly"); var r = mbfly.Hello(" test"); var sys = require("sys"); sys.puts(r); setTimeout(function() { sys.puts("timeout"); }, 1000);