diff 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
line wrap: on
line diff
--- a/nodejs/shapes.cc	Tue Jul 27 22:02:40 2010 +0800
+++ b/nodejs/shapes.cc	Wed Jul 28 08:31:15 2010 +0800
@@ -435,6 +435,7 @@
 	xnjsmb_init_shape_temp();
 	xnjsmb_init_path_temp();
 	xnjsmb_init_stext_temp();
+	xnjsmb_init_image_temp();
 	temp_init_flag = 1;
     }