This used to work in an older version of v8, but stopped working with the latest version of v8. So I'd still like to know the new recommended way to achieve this.
Following the current v8 sample code, I can set a FunctionTemplate to an ObjectTemplate. I could use that, but would like to understand whether there's any performance disadvantage in doing so. Thanks, Jane On Tuesday, March 4, 2014 12:44:30 PM UTC-8, Gregory Hlavac wrote: > > Firstly stop assuming that its going to work like the comments dictate, > the devs never update them as they change the API so its nearly worthless > to rely on that. > > Secondly prototypetemplate is an ObjectTemplate, not just a Template, so > you could try that. > -- -- 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.
