From: "Isaac Z. Schlueter" <i...@foohack.com>
Date: Sun, 8 Mar 2009 20:03:03 -0700 (PDT)
Local: Sun, Mar 8 2009 11:03 pm
Subject: Re: Is there any way to create a Handle<ObjectTemplate> from a Handle<Object>?
So, I did eventually get this to work very much like SpiderMonkey's
evalcx function. Here's the code if anyone else is interested: usage:
static v8::Handle<v8::Value> EvalCX (const v8::Arguments& args)
Context::Scope context_scope(context);
// share global datas
Handle<Script> script = Script::Compile(code, String::New("evalcx"));
}
--i
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||