hij1nx/EventEmitter2 — pull request #45 by robertjustjones (2012-01-09 17:33:40+00:00)
Title: Fixes maxListeners warning for wildcard events

Love ee2, but we were getting the memory leak messages in the browser on a browserified eventemitter2 even with maxListeners set.

The simple diff shows the missing expression in growListenersTree called when wildcards used.

I've added a test from tests/simple/setMax.js to the end of tests/wildcardEvents/all.js to demonstrate the fail and fix.

Thanks!