On 26 June 2014 18:48, Jane Chen jxche...@gmail.com wrote:
I have an object instantiated from a template, which has a class name set.
When I do instanceof on it in JavaScript, it only shows it's an object, but
not of my class. My class seems unknown. Does v8 provide a callback API
for
Ben,
Say if my class is called ValueIterator, and it is an instance of it, if
I do:
Object.prototype.toString.call(it);
[object ValueIterator]
it instanceof ValueIterator;
(shell):1: ReferenceError: ValueIterator is not defined
it instanceof ValueIterator;
^
ReferenceError:
I can't SetAlignedPointerInInternalField on
FunctionTemplate-GetFunction(), even after I SetInternalFieldCount on
FunctionTemplate-InstanceTemplate(). Is that just the way it is or am I
missing something here?
--
--
v8-users mailing list
v8-users@googlegroups.com
On Fri, Jun 27, 2014 at 9:29 PM, Jane Chen jxche...@gmail.com wrote:
Ben,
Say if my class is called ValueIterator, and it is an instance of it, if I
do:
Object.prototype.toString.call(it);
[object ValueIterator]
it instanceof ValueIterator;
(shell):1: ReferenceError: ValueIterator is not
On Fri, Jun 27, 2014 at 10:40 PM, Jane Chen jxche...@gmail.com wrote:
I can't SetAlignedPointerInInternalField on FunctionTemplate-GetFunction(),
even after I SetInternalFieldCount on FunctionTemplate-InstanceTemplate().
Is that just the way it is or am I missing something here?
The return
Is the bleeding_edge branch there, or is only the stable there? I know for a
fact the latter, but based on what I have read, the main development branch
doesn't exist there.
--
--
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this
Never mind. Question answered (I may have misread something).
--
--
v8-users mailing list
v8-users@googlegroups.com
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