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

TypeError: Tautologistics.NodeHtmlParser.DefaultHandler is not a constructor #80

Open
skibulk opened this issue Jan 11, 2018 · 3 comments

Comments

@skibulk
Copy link

skibulk commented Jan 11, 2018

Hi I copied and pasted your example usage code for browsers and I get this error: TypeError: Tautologistics.NodeHtmlParser.DefaultHandler is not a constructor.

https://jsfiddle.net/skibulk/Lhnmjjs8/

@mpalmer78
Copy link

Same here. Any help out there?

@mpalmer78
Copy link

Found the issue. DefaultHandler was changed to HtmlBuilder. Updated code would be:

var builder = new Tautologistics.NodeHtmlParser.HtmlBuilder(function (error, dom) { if (error) console.log(error); });

@jywarren
Copy link

jywarren commented Mar 5, 2019

#57 - got this too... 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

No branches or pull requests

3 participants