Brian Di Palma (2013-07-11T12:53:28.000Z)
domenic at domenicdenicola.com (2013-07-16T14:31:31.146Z)
I'm in favour of this standard class approach. I just hope that when discussing this people would also entertain a non-string event type. ```js emitter.addListener( MY_EVENTS.PERMISSION_UPDATE, callback ); ``` So in a modern IDE you could click on `MY_EVENTS.PERMISSION_UPDATE` and it would display the object which could contain the arguments the callback is provided with and a place to document the event. It might also improve minifying/refactoring and searching for occurrences of the event much easier then if it where a simple string.