comparison nodejs/shapes.cc @ 643:a65720721c60

Fix issue of exception of internal field. img_ldr is a function to return a new img_ldr, not a constructor as in previous implementation. This changeset fix semantic error on xnjsmb_img_ldr_new().
author Thinker K.F. Li <thinker@branda.to>
date Wed, 28 Jul 2010 08:31:15 +0800
parents f60d8fa1c55b
children fc29a343ce7c
comparison
equal deleted inserted replaced
642:4f7b4ff31c0c 643:a65720721c60
433 433
434 if(temp_init_flag == 0) { 434 if(temp_init_flag == 0) {
435 xnjsmb_init_shape_temp(); 435 xnjsmb_init_shape_temp();
436 xnjsmb_init_path_temp(); 436 xnjsmb_init_path_temp();
437 xnjsmb_init_stext_temp(); 437 xnjsmb_init_stext_temp();
438 xnjsmb_init_image_temp();
438 temp_init_flag = 1; 439 temp_init_flag = 1;
439 } 440 }
440 441
441 rt_proto_temp = rt_temp->PrototypeTemplate(); 442 rt_proto_temp = rt_temp->PrototypeTemplate();
442 443