Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix EventEmitter2 problem on browsers #22

Closed
thejmazz opened this issue Feb 22, 2016 · 0 comments
Closed

Fix EventEmitter2 problem on browsers #22

thejmazz opened this issue Feb 22, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@thejmazz
Copy link
Member

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.

@thejmazz thejmazz added the bug label Feb 22, 2016
@thejmazz thejmazz self-assigned this Feb 22, 2016
@thejmazz thejmazz added this to the 0.2.0 milestone Feb 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

1 participant