Alright, thanks!  I think I understand.  I didn't recognize that the
problematic line is the one actually creating an "Object."

So I assume it's OK to create templates outside of a JS context, just
not actual objects.

Heh, I hate that about Javascript... the templates versus object
instances.

Thanks again!


On Oct 1, 8:31 am, Mads Sig Ager <[email protected]> wrote:
> Instantiating an ObjectTemplate needs to create a JavaScript object in
> a JavaScript context.  Therefore, you need to enter a context before
> the call to tmpl->NewInstance().
>
> Cheers,    -- Mads

--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to