Status: New
Owner: ----
New issue 243 by sgbeal: Please add v8::Object::Eval() member
http://code.google.com/p/v8/issues/detail?id=243
It seems unduly difficult, from the C++ side, to eval() code in the context
of a given JS Object. The only way i've found to do it is:
Local<Function> eval =
Function::Cast( *(myJSObject->Get(String::New("eval"))) );
eval->Call( ... );
it would be extremely convenient if Object::Eval( Handle<String> code )
were added to the API. Alternately, a static Object::Eval() which takes the
object as its first parameter and code as its second.
:)
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---