Skip to content


Subversion checkout URL

You can clone with
Download ZIP


expected behavior with substring event names? #63

khrome opened this Issue · 1 comment

1 participant


let's say I used:

emitter.on('fetch', fetch);
emitter.on('fetchReturn', fetchReturnHandler);

and then:

emitter.emitEvent('fetchReturn', ... );

Is it expected behavior for both listeners to fire? because that's happening for me due to this.getListenersAsObject('fetchReturn'); returning both.


Nevermind, this was an object which had a toString handler, so it was outputting as a string, but wasn't... leaving it here for the next guy who has a similar issue.

@khrome khrome closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.