File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ module.exports = fromText
8
8
9
9
// Implementation of the `innerText` setter:
10
10
// <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.
14
14
function fromText ( node , value ) {
15
15
var fn = 'children' in node ? setParent : setLiteral
16
16
var val = value == null ? '' : String ( value )
You can’t perform that action at this time.
0 commit comments