Re: Solving the "how do I tell whether I have an HTML element?" (or image element, or whatever) problem

Private reply:

Boris Zbarsky wrote:
> 1)  Hack instanceof as Gecko has in the past.  This is actually a bit 
> of a pain to implement even in Gecko, without changes to SpiderMonkey, 
> because function objects can't have the magic behavior the RHS needs 
> above in SpiderMonkey at the moment. 

What's missing? I still see Class::hasInstance in jsclass.h.

/be

Received on Tuesday, 1 January 2013 07:08:22 UTC