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

Comments

1 participant
@thejmazz
Member

thejmazz commented Feb 22, 2016

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

@thejmazz thejmazz closed this in bb33a50 Feb 22, 2016

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