Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
dom: minor correction in examples for ancestors() and unwrap()
  • Loading branch information
elson committed Oct 13, 2009
1 parent b8bb91b commit 52865be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dom/dom.js
Expand Up @@ -2100,7 +2100,7 @@
Returns NodeList
@example
// get ancestory elements for anchor elements
// get ancestor elements for anchor elements
var ancestors = glow.dom.get("a").ancestors();
*/
ancestors: function() {
Expand Down Expand Up @@ -2195,7 +2195,7 @@
@example
// Before: <div><div><p></p></div></div>
// wrap the given element
// unwrap the given element
glow.dom.get("p").unwrap();
// After: <div><p></p></div>
*/
Expand Down

0 comments on commit 52865be

Please sign in to comment.