Mercurial > MadButterfly
comparison nodejs/mbfly_njs.cc @ 639:dc32c1c140ae
First compilable image loader binding for Javascript
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Mon, 26 Jul 2010 20:13:58 +0800 |
parents | 683889344459 |
children | b6fb543d69ee |
comparison
equal
deleted
inserted
replaced
638:683889344459 | 639:dc32c1c140ae |
---|---|
146 * Add properties to mb_rt templates for other modules. | 146 * Add properties to mb_rt templates for other modules. |
147 */ | 147 */ |
148 xnjsmb_shapes_init_mb_rt_temp(mb_rt_func); | 148 xnjsmb_shapes_init_mb_rt_temp(mb_rt_func); |
149 xnjsmb_paints_init_mb_rt_temp(mb_rt_func); | 149 xnjsmb_paints_init_mb_rt_temp(mb_rt_func); |
150 xnjsmb_font_init_mb_rt_temp(mb_rt_func); | 150 xnjsmb_font_init_mb_rt_temp(mb_rt_func); |
151 xnjsmb_img_ldr_init_mb_rt_temp(mb_rt_func); | 151 xnjsmb_img_ldr_init_mb_rt_temp(target); |
152 | 152 |
153 target->Set(String::New("mb_rt"), mb_rt_func->GetFunction()); | 153 target->Set(String::New("mb_rt"), mb_rt_func->GetFunction()); |
154 } | 154 } |