If I use the FunctionTemplate instead of the ObjectTemplate I can't seem to get a constructor callback to work.
funcTemplate->InstanceTemplate()->SetCallAsFunctionHandler(ctorCallback); When the script does this: var o = new MyObject(); The C++ ctorCallback is never called! Why doesn't the ObjectTemplate have a HasInstance() method? There has to be an example of passing wrapped objects to methods of other wrapped objects.. -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
