Skip to content

Commit 28ba541

Browse files
author
Daniel Skogly (poacher2k)
committed
Grammar
1 parent 0effe77 commit 28ba541

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,15 +136,15 @@ var parserConfig = {
136136
var parsedChildren;
137137
if (domNode.attribs) {
138138
if (domNode.attribs.id === 'main') {
139-
parsedChildren = domToReact(domNode.children, parserConfig); // continue parsing domNode children with same config
139+
parsedChildren = domToReact(domNode.children, parserConfig); // continue parsing domNode's children with same config
140140
return React.createElement('span', {
141141
key: key,
142142
style: { fontSize: '42px' } },
143143
parsedChildren);
144144
// equivalent jsx syntax:
145145
// return <span key={key} style={{ fontSize: '42px' }}>{parsedChildren}</span>;
146146
} else if (domNode.attribs.class === 'prettify') {
147-
parsedChildren = domToReact(domNode.children, parserConfig); // continue parsing domNode children with same config
147+
parsedChildren = domToReact(domNode.children, parserConfig); // continue parsing domNode's children with same config
148148
return React.createElement('span', {
149149
key: key,
150150
style: { color: 'hotpink' } },

0 commit comments

Comments
 (0)