view nodejs/testcase.js @ 555:962d8436a303 Android_Skia

Define functions to fill gap of njs runtime. We translate functions of njs runtime to instructions of calling functions of X runtime. They are simple macros.
author Thinker K.F. Li <thinker@branda.to>
date Sun, 06 Jun 2010 15:27:28 +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);