Skip to content

append: Documented that it accepts text nodes#914

Closed
AurelioDeRosa wants to merge 3 commits into
jquery:masterfrom
AurelioDeRosa:append-node
Closed

append: Documented that it accepts text nodes#914
AurelioDeRosa wants to merge 3 commits into
jquery:masterfrom
AurelioDeRosa:append-node

Conversation

@AurelioDeRosa
Copy link
Copy Markdown
Member

Fixes gh-879

Comment thread pages/Types.html Outdated
</p>
<pre><code data-lang="javascript">var children = document.getElementById( "target" ).childNodes;
</code></pre>
you obtain two children. The first one is the <a href="#Element">element</a> represeting the <code>b</code> tag. The second children is a text node containing the string " world".
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: represeting -> representing
also: the second children should be the second child

@AurelioDeRosa
Copy link
Copy Markdown
Member Author

Cool. So is it good to merge?

@agcolom
Copy link
Copy Markdown
Member

agcolom commented Apr 19, 2016

LGTM :-)

@AurelioDeRosa AurelioDeRosa deleted the append-node branch April 19, 2016 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants