tylermwashburn/trailer — Issue #11: trailer.EventEmitter only returns true if there is a listener assigned locally..
Author: tylermwashburn
Created: 2011-12-04 19:01:17+00:00
State: open
Labels: bug, feature

..not if there's a global listener. (on trailer itself)

So if we did..

trailer.on( "finalized", function () { ... })

..then..

emitter.emit( "finalized" )

..would still return false, when it should return true.

I'm not sure whether to call this a bug or a feature request, so I'll just tag it with both.