Mercurial > MadButterfly
diff nodejs/mbfly_njs.cc @ 567:a12c3448afb6 Android_Skia
Add dummy paint_color templates
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 09 Jun 2010 12:28:03 +0800 |
parents | c0bc60448913 |
children | 13b15b7a463b |
line wrap: on
line diff
--- a/nodejs/mbfly_njs.cc Tue Jun 08 09:08:23 2010 +0800 +++ b/nodejs/mbfly_njs.cc Wed Jun 09 12:28:03 2010 +0800 @@ -106,7 +106,11 @@ func = FunctionTemplate::New(xnjsmb_coord_new); SET(rt_proto_temp, "coord_new", func); + /* + * Add properties to mb_rt templates for other modules. + */ xnjsmb_shapes_init_mb_rt_temp(mb_rt_func); + xnjsmb_paints_init_mb_rt_temp(mb_rt_func); target->Set(String::New("mb_rt"), mb_rt_func->GetFunction()); }