Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing export for HTMLProcessor in index.ts #82

Merged
merged 1 commit into from
Oct 24, 2022

Conversation

Harukaichii
Copy link
Contributor

@Harukaichii Harukaichii commented Oct 22, 2022

Hi, I was experimenting with the library and wanted to do something with the HTMLProcessor as described
here

However, it would not let me import and I believe it's because there is a missing export statement from index.ts.

Hence I added an extra line in.

@google-cla
Copy link

google-cla bot commented Oct 22, 2022

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link
Member

@tushuhei tushuhei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Thanks for your proposal. Please fix the JS styling issue and sign Google CLA to proceed.

@@ -15,3 +15,4 @@
*/

export * from './parser.js';
export {HTMLProcessor} from "./html_processor.js";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use single quotes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@Harukaichii Harukaichii force-pushed the js-add-html-processor-to-export branch from 2d37009 to b55e835 Compare October 24, 2022 16:01
fix lint styling issues
@Harukaichii Harukaichii force-pushed the js-add-html-processor-to-export branch from b55e835 to 523e5d3 Compare October 24, 2022 16:12
Copy link
Member

@tushuhei tushuhei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing!

@tushuhei tushuhei merged commit f58ca2b into google:main Oct 24, 2022
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