Skip to content

Fix EventEmitter2 problem on browsers #22

Closed
@thejmazz

Description

@thejmazz

In Node this works:

const EventEmitter2 = require('eventemitter2').EventEmitter2

but in the browser no object is returned, and instead need to do this:

const EventEmitter2 = require('eventemitter2')

Problem will go away if events are dropped.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions