Skip to content

docs: Fix small typo in code example#518

Merged
fb55 merged 1 commit intoinikulin:masterfrom
cheeaun:patch-1
Apr 21, 2022
Merged

docs: Fix small typo in code example#518
fb55 merged 1 commit intoinikulin:masterfrom
cheeaun:patch-1

Conversation

@cheeaun
Copy link
Copy Markdown
Contributor

@cheeaun cheeaun commented Apr 21, 2022

Page: https://parse5.js.org/modules/parse5.html#parseFragment

Variable parser should be parse5. As it's declared in beginning of the code example const parse5 = require('parse5');, parser variable would be undefined.

@fb55 fb55 merged commit 35ccb3f into inikulin:master Apr 21, 2022
@fb55
Copy link
Copy Markdown
Collaborator

fb55 commented Apr 21, 2022

Good find, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants