Mercurial > MadButterfly
diff nodejs/testcase.js @ 574:a2faee809514
Implement stext type for Javascript
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 09 Jun 2010 22:06:50 +0800 |
parents | 13b15b7a463b |
children | 5a68e2bcea17 |
line wrap: on
line diff
--- a/nodejs/testcase.js Wed Jun 09 17:30:09 2010 +0800 +++ b/nodejs/testcase.js Wed Jun 09 22:06:50 2010 +0800 @@ -18,7 +18,7 @@ coord.add_shape(path); sys.puts(mb_rt.paint_color_new); -var paint = mb_rt.paint_color_new(1.0, 1.0, 1.0, 1.0); +var paint = mb_rt.paint_color_new(1, 1, 1, 1); sys.puts(paint); paint.stroke(path);