On Mon, Jun 30, 2008 at 5:21 PM, jdalton <[EMAIL PROTECTED]> wrote:
> if you use element  = $(element); you shouldnt have to worry about IE,
> because the element will be extended and it will have the descendentOf
> method.

In my usage that is unnecessary since I'm calling that method directly
on an already instantiated element object, but it is a good addition
for the Element.isOrphaned('some-id') usage.

The problem I was having was a spelling error, descendent vs. descendant :)

Your optimization to the last line is nice too.

-justin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to