@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
}
...

I like using the get/set methods
element.get('tagName');
element.set('disabled', 'disabled');
might blur the line between attribute and property though.

- JDD
--~--~---------~--~----~------------~-------~--~----~
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 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to