Maybe http://groups.google.com/group/v8-users/browse_thread/thread/fa1fd963c570ff06/995c427977ebb78b
helps.
Matthias
> Thanks
> -Prahalad
>
> --
> v8-users mailing list
> v8-u...@googlegroups.com
> http://groups.google.com/group/v8-users
Absolutely. FunctionTemplate#getFunction#newInstance and
FunctionTemplate#getInstanceTemplate#newInstance are equivalent.
But note that the "constructor" property of the object will still be
available to JS code to call.
>
> Since I'm registering a single instance to the context it seems to me
> the instance should behave as if I used an ObjectTemplate.
>
> If this behavior is supported than that would make coding for what I'm
> doing easier since I can internally treat all objects being created
> from FunctionTemplate.
>
> Thanks.
>