On Aug 19, 12:03 pm, John-David Dalton <[EMAIL PROTECTED]>
> @kangax
> Whatever the name is I think it should be used in all wrappers.
> This makes it consistent.
> If you want to check if a wrapper is of a certain instance.
> if( wrapper instanceof Prototype.Node ) {
>    //wrapper.raw}
> else if (wrapper instanceof Prototype.NodeList) {
>   //wrapper.raw}

Good point about `instanceof`. That should work (in a context of one

You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to