Skip to content

Failing to run in nodejs #12

@jameslnewell

Description

@jameslnewell

I'm trying to use this library in a universaljs app but am getting errors due to document being undefined.

This could be easily fixed by using var document = require("global/document") from global... Unfortunately global doesn't have a component.json file.

Any suggestions for getting this library working on nodejs? Happy to do a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions