Skip to content

Expose DOM Implementation #48

Description

@SanzSeraph

Is there some reason you chose not to expose your DOM implementation so it can be imported? I would like to write code that uses the instanceof operator to check if a node's constructor is of one type or another, but since none of the constructors of your DOM objects are exported, I can't do that.

I can't even use the NodeType enumeration in your dom-parser module to determine the node type because it isn't exported either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existsspec:DOM-Level-2https://www.w3.org/TR/DOM-Level-2-Core/

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions