On Sat, Jul 8, 2017 at 4:31 PM, Florent S. <flor...@adopteunmec.com> wrote:
> Hi everyone!
>
> I'm looking for a way to create a sub-context, that is a context that
> inherit from another context.
>
> The goal is to simulate the import feature.
>
> 1/ Create a global context
> 2/ Load and excute main script
> 3/ import creates a sub-context
> 4/ Load and execute the imported script in the sub-context
> 5/ copy some stuff from the sub-context back into the global context
>
> I can't find a decent way to do so ...
>
> Any clue ?
>
> Regards,
> Florent

What have you tried so far?  What did or didn't work?

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
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 v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to