Permalink
Browse files

Merge branch 'master' of http://github.com/arian/mootools-core

  • Loading branch information...
2 parents a062817 + cfa964e commit 8c2879b1055655bc627ed5f74ec03c6aab1c5b3e @cpojer cpojer committed May 30, 2010
Showing with 9 additions and 6 deletions.
  1. +7 −4 Docs/Element/Element.md
  2. +1 −1 Docs/Types/Function.md
  3. +1 −1 Docs/Types/Object.md
@@ -794,15 +794,15 @@ Clones the Element and returns the cloned one.
Element Method: replaces {#Element:replaces}
--------------------------------------------------
-Replaces the Element with an Element passed.
+Replaces the passed Element with Element.
### Syntax:
var element = myElement.replaces(el);
### Arguments:
-1. el - (*mixed*) A string id representing the Element to be replaced with, or an Element reference.
+1. el - (*mixed*) A string id representing the Element to be replaced, or an Element reference.
### Returns:
@@ -1083,15 +1083,15 @@ Like [Element:getAllPrevious][] but returns all Element's previous and next sibl
### Syntax:
- var children = myElement.getsiblings([match]);
+ var siblings = myElement.getSiblings([match]);
### Arguments:
1. match - (*string*, optional): A tag name to match the found element(s) with. A full CSS selector can be passed.
### Returns:
-* (*array*) A [Elements](#Elements) array with all of the Element's children, except the text nodes.
+* (*array*) A [Elements](#Elements) array with all of the Element's sibings, except the text nodes.
@@ -1113,6 +1113,9 @@ Returns all the Element's children (excluding text nodes). Returns as [Elements]
* (*array*) A [Elements](#Elements) array with all of the Element's children, except the text nodes.
+### Note:
+
+The difference between the methods *getChildren* and *getElements* is that getChildren will only return its direct children while getElements searches for all the Elements in any depth.
Element Method: empty {#Element:empty}
--------------------------------------
@@ -365,7 +365,7 @@ Function method: create {#Deprecated-Functions:create}
This function has been deprecated.
-Function method: bindWithEvent {#Deprecated-Function:bindWithEvent}
+Function method: bindWithEvent {#Deprecated-Functions:bindWithEvent}
------------------------------------------------------------------
This function has been deprecated.
@@ -484,7 +484,7 @@ Deprecated Functions {#Deprecated-Functions}
Type: Hash {#Deprecated-Functions:Hash}
--------------------------------------
-Hash has been deprecated. Each Hash methods has a similar Object method.
+Hash has been deprecated. Each Hash method has a similar Object method or a Vanilla JS equivalent.
Hash Method: has {#Deprecated-Functions:Hash:has}
-------------------------------------------------

0 comments on commit 8c2879b

Please sign in to comment.