diff nodejs/testcase.js @ 549:6ec4d7e90480 Android_Skia

Nodejs testcase in Javascript
author Thinker K.F. Li <thinker@branda.to>
date Sun, 06 Jun 2010 13:48:13 +0800
parents
children c9d23f7279a4
line wrap: on
line diff
--- /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);