Mercurial > MadButterfly
diff nodejs/testcase.js @ 568:d796e6b8b97e Android_Skia
Real initialize a paint_color_t object for paint_color JS obj
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 09 Jun 2010 14:10:58 +0800 |
parents | a12c3448afb6 |
children | f87a368e847a |
line wrap: on
line diff
--- a/nodejs/testcase.js Wed Jun 09 12:28:03 2010 +0800 +++ b/nodejs/testcase.js Wed Jun 09 14:10:58 2010 +0800 @@ -18,5 +18,7 @@ coord.add_shape(path); sys.puts(mb_rt.paint_color_new); +var paint = mb_rt.paint_color_new(1, 1, 1, 1); +sys.puts(paint); setTimeout(function() { sys.puts("timeout"); }, 1000);