Skip to content

Commit 54cadda

Browse files
Fix documentation typo. [#1051 state:resolved]
1 parent a5dec72 commit 54cadda

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/prototype/dom/dom.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,14 +1347,14 @@
13471347
* Then:
13481348
*
13491349
* $('australopithecus').firstDescendant();
1350-
* // -> div#homo-herectus
1350+
* // -> div#homo-erectus
13511351
*
13521352
* // the DOM property returns any first node
1353-
* $('homo-herectus').firstChild;
1353+
* $('homo-erectus').firstChild;
13541354
* // -> comment node "Latin is super"
13551355
*
13561356
* // this is what we want!
1357-
* $('homo-herectus').firstDescendant();
1357+
* $('homo-erectus').firstDescendant();
13581358
* // -> div#homo-neanderthalensis
13591359
**/
13601360
function firstDescendant(element) {

0 commit comments

Comments
 (0)