I'm setting up a getter, and for some reason in JS it "appears" like a
value:
tpl->InstanceTemplate()->SetAccessor(NanNew("size"), Size);
Then in JS:
Object.getOwnPropertyDescriptor(bridgedObject, "size")
> { value:1, writabe:... }
Is this expected behavior? It otherwise works fine (calls size accessor
appropriately, etc).
--
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.