I'm trying to write a function that will execute a bit of Javascript within an arbitrary global scope. Something like the "evalcx" function in the Spidermonkey shell.
I've got a function defined and exposed to the Javascript that takes an object as an argument, and stores it as a Handle<Object>. However, in order to create a new execution context, I need a Handle<ObjectTemplate>. Is there an easy way to do this? Thanks! --i --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
