# HG changeset patch # User Thinker K.F. Li # Date 1275803293 -28800 # Node ID 6ec4d7e904805b381c5fc1ceb1e6ad78a56d50ca # Parent f69b0814ef3c11666bc1a6ef46424e7e8a1d4dd5 Nodejs testcase in Javascript diff -r f69b0814ef3c -r 6ec4d7e90480 nodejs/testcase.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nodejs/testcase.js Sun Jun 06 13:48:13 2010 +0800 @@ -0,0 +1,7 @@ +var mbfly = require("mbfly"); +var r = mbfly.Hello(" test"); +var sys = require("sys"); +sys.puts(r); + + +setTimeout(function() { sys.puts("timeout"); }, 1000);