Skip to content

Commit f430bea

Browse files
authored
Update article.md
Actually removing articles ("the"s). Rare! Usage was inconsistent from line to line -- some had "the node" and some just had "node". I'd say in this case, since `node` is formatted as code, it's intended to be an identifier (rather than a type of thing), so should stand alone. That is, if `node` **stands** for the node, don't use "the", but if 'node' just means "some node", do use "the node".
1 parent 00d3f99 commit f430bea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

2-ui/1-document/07-modifying-document/article.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ Here's the full code:
9393
This set of methods provides more ways to insert:
9494

9595
- `node.append(...nodes or strings)` -- append nodes or strings at the end of `node`,
96-
- `node.prepend(...nodes or strings)` -- insert nodes or strings into the beginning of `node`,
97-
- `node.before(...nodes or strings)` –- insert nodes or strings before the `node`,
98-
- `node.after(...nodes or strings)` –- insert nodes or strings after the `node`,
96+
- `node.prepend(...nodes or strings)` -- insert nodes or strings at the beginning of `node`,
97+
- `node.before(...nodes or strings)` –- insert nodes or strings before `node`,
98+
- `node.after(...nodes or strings)` –- insert nodes or strings after `node`,
9999
- `node.replaceWith(...nodes or strings)` –- replaces `node` with the given nodes or strings.
100100

101101
Here's an example of using these methods to add items to a list and the text before/after it:

0 commit comments

Comments
 (0)