Mercurial > MadButterfly
comparison 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 |
comparison
equal
deleted
inserted
replaced
566:6639d386db78 | 567:a12c3448afb6 |
---|---|
104 | 104 |
105 rt_proto_temp = mb_rt_func->PrototypeTemplate(); | 105 rt_proto_temp = mb_rt_func->PrototypeTemplate(); |
106 func = FunctionTemplate::New(xnjsmb_coord_new); | 106 func = FunctionTemplate::New(xnjsmb_coord_new); |
107 SET(rt_proto_temp, "coord_new", func); | 107 SET(rt_proto_temp, "coord_new", func); |
108 | 108 |
109 /* | |
110 * Add properties to mb_rt templates for other modules. | |
111 */ | |
109 xnjsmb_shapes_init_mb_rt_temp(mb_rt_func); | 112 xnjsmb_shapes_init_mb_rt_temp(mb_rt_func); |
113 xnjsmb_paints_init_mb_rt_temp(mb_rt_func); | |
110 | 114 |
111 target->Set(String::New("mb_rt"), mb_rt_func->GetFunction()); | 115 target->Set(String::New("mb_rt"), mb_rt_func->GetFunction()); |
112 } | 116 } |