On Thu, Sep 22, 2011 at 6:06 PM, avasilev <[email protected]> wrote:
> Well, I got an assertion when instantiating the object that something > is not a JsObject. Seems there is something wrong with the template. > i know the order of instantiation and the order of initialization of the template/ctor are important, but i cannot say off hand exactly in what order it is supposed to happen (because a helper class always does that for me). i don't know if this will help, but you can try comparing your init order against this "known working" order: http://code.google.com/p/v8-juice/source/browse/convert/include/cvv8/V8Shell.hpp#172 note the order (and types) of the ctor's initialization of the members. That code is missing the step you describe - customization of the global, so you would conceptually do that part between lines 179 and 180. -- ----- stephan beal http://wanderinghorse.net/home/stephan/ -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
