What would really rock is if you could proxy for the global object.

On Jul 11, 2012, at 10:58 PM, Duncan Tebbs wrote:

> Thanks for pointing that out.  I'll look into that as there doesn't seem to 
> be a solution via the C++ API.
> 
> Duncan
> 
> On 7/11/12 10:53 PM, Michael Schwartz wrote:
>> Maybe this helps?
>> 
>> https://github.com/mschwartz/SilkJS-Harmony
>> 
>> 
>> On Jul 10, 2012, at 11:19 PM, Duncan Tebbs wrote:
>> 
>>> 
>>> I've come across this same problem trying to replace JavaScriptCore
>>> with v8.  Did you ever find a solution?
>>> 
>>> It would be great to have FunctionTemplate::SetNamedPropertyHandler,
>>> as we have with ObjectTemplate, to intercept property accesses on the
>>> Function created by the template.  Does anyone know how this could be
>>> achieved, or is it just missing API?
>>> 
>>> Thanks,
>>> Duncan
>>> 
>>> On Monday, June 21, 2010 11:01:59 PM UTC+9, Charles Lowell wrote:
>>> 
>>>    Hi there,
>>> 
>>>    What, if any, is the best way to intercept property lookups on a
>>>    Function object? I'm reflecting ruby classes into javascript as
>>>    constructor functions, but the ruby classes themselves have
>>>    potentially dynamic properties just like any other object, and so I'd
>>>    like to be able to reuse the same named property handlers from my
>>>    normal ruby objects. I just can't figure out where to put them.
>>> 
>>>    cheers,
>>>    Charles
>>> 
>>> 
>>> --
>>> v8-users mailing list
>>> [email protected] <mailto:[email protected]>
>>> http://groups.google.com/group/v8-users
>> 
>> --
>> v8-users mailing list
>> [email protected]
>> http://groups.google.com/group/v8-users
> 
> -- 
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to