Skip to content

HTMLHintClass is not a constructor error #630

@kaiwen2times

Description

@kaiwen2times

Describe the bug

In the Wiki page under Javascript with node It denotes that
HTMLHint needs to be instantiated as follow

var HTMLHintClass  = require("htmlhint").HTMLHint;
var HTMLHint = new HTMLHintClass();

but this resulted in Uncaught TypeError: HTMLHintClass is not a constructor error in the debug console

The instruction should be updated

Desktop (please complete the following information):

  • OS: MacOS
  • Browser Chrome
  • Version 89.0.4389.128

Metadata

Metadata

Assignees

No one assigned

    Labels

    bot:staleIssue marked as stale because there was no activity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions