On Mar 11, 9:28 pm, Stephan Beal <[email protected]> wrote:
> When i create/set up a new JS class (e.g. a Function/ctor object), can
> i then add *that instance* of the ctor to objects from any context, or
> is *that* instance of the ctor only usable in the Context under which
> it was constructed?

Another case which might make it clearer what i'm trying to do:

Suppose PluginTwo's TwoType wants to subclass OneType. If i can
legally use shared instances of OneType's FunctionTemplate/ctor then i
can easily use Inherit() to subclass it from arbitrary client code
(provided that there's a public API exposing the shared instance of
OneType)..
--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to