Skip to content

Commit 4b03145

Browse files
committed
Refactor comments
1 parent c77ccb8 commit 4b03145

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ module.exports = fromText
88

99
// Implementation of the `innerText` setter:
1010
// <https://html.spec.whatwg.org/#the-innertext-idl-attribute>
11-
// Note that `innerText` only exists on element. In this utility, we accept
12-
// all parent nodes and handle them as elements, and for all literals we set
13-
// the `value` of the given node the the given value.
11+
// Note that `innerText` only exists on element.
12+
// In this utility, we accept all parent nodes and handle them as elements, and
13+
// for all literals we set the `value` of the given node the the given value.
1414
function fromText(node, value) {
1515
var fn = 'children' in node ? setParent : setLiteral
1616
var val = value == null ? '' : String(value)

0 commit comments

Comments
 (0)