Skip to content

Version for node? #5

Description

@mitra42

I'm trying to add CustomEvent so that a library I've built will work in both browser and Node. Your code looks like its what is needed EXCEPT it calls document.createEventObject, and in node there is document.createEvent, but not document.createEventObject.

Do you know of a version of custom-event that works in Node? Or is there a way to add that functionality.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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