Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Updated docs for Element.getParents #2253

merged 3 commits into from

2 participants


Added a return clause to say that if no parents are found, an empty array is returned rather than null.

@ibolmo ibolmo merged commit 58a6ae3 into mootools:master

:+1: looks good. thanks for the contribution, keep 'em coming :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 25, 2012
  1. @umphy

    Update Docs/Element/

    umphy authored
  2. @umphy

    Update Docs/Element/

    umphy authored
  3. @umphy

    Update Docs/Element/

    umphy authored
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 0 deletions.
  1. +4 −0 Docs/Element/
4 Docs/Element/
@@ -1127,6 +1127,10 @@ Element Method: getParents {#Element:getParents}
Like [Element:getParent](#Element:getParent), but returns a collection of all the matched parentNodes up the tree.
+### Returns:
+* (*array*) If no matching parents are found, an empty array is returned.
Element Method: getSiblings {#Element:getSiblings}
Something went wrong with that request. Please try again.