isWithin?
Reported by Andrew Dodson | February 19th, 2010 @ 06:52 PM
In the docs it says it returns a NodeList.. i get a boolean.
// find all divs nested in another div
glow.dom.get('div').isWithin(glow.dom.get('div')).
// bbc homepage returns false, no nested divs apparently
Comments and changes to this ticket
-
Jake Archibald February 23rd, 2010 @ 09:07 AM
- State changed from new to resolved
- Tag set to defect, documentation, dom
- Assigned user set to Jake Archibald
Thanks for spotting, the docs should read 'boolean'. Corrected them, they'll make the next release. [41d96f1a41194d8bd3b32775690a6ddde88eafc3]
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A JavaScript Library