Mercurial > MadButterfly
diff nodejs/mbfly_njs.cc @ 565:c0bc60448913 Android_Skia
Constructor for path objects in Javascript domain
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Mon, 07 Jun 2010 22:37:51 +0800 |
parents | 1b6402f07cd4 |
children | a12c3448afb6 |
line wrap: on
line diff
--- a/nodejs/mbfly_njs.cc Mon Jun 07 19:18:20 2010 +0800 +++ b/nodejs/mbfly_njs.cc Mon Jun 07 22:37:51 2010 +0800 @@ -105,6 +105,8 @@ rt_proto_temp = mb_rt_func->PrototypeTemplate(); func = FunctionTemplate::New(xnjsmb_coord_new); SET(rt_proto_temp, "coord_new", func); + + xnjsmb_shapes_init_mb_rt_temp(mb_rt_func); target->Set(String::New("mb_rt"), mb_rt_func->GetFunction()); }