Yes. In fact we use something like this to load the Date function lazily: not until the first time you access the Date property on the global object is the date library loaded.
On Wed, Nov 19, 2008 at 10:11 AM, Anthony Shipman <[EMAIL PROTECTED]> wrote: > > Can I have the v8 engine call a C++ accessor function which then loads and > compiles some javascript into the same context and executes it and then > returns the result back from the original call? > > -- > Anthony Shipman Mamas don't let your babies > [EMAIL PROTECTED] grow up to be outsourced. > > > > --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
