 
 class KDEventEmitter
 
-  # listeners will be put inside @KDEventEmitterEvents[className]
+  # static listeners will be put here
   _e = {}
 
   _registerEvent = (registry, eventName, callback)->

    #     listenerStack = listenerStack.concat @_e[eventToBeFired].slice(0)

    listenerStack = listenerStack.concat @_e[eventName].slice(0)

    listenerStack.forEach (listener)=>
      listener.apply @, args

  on  :(eventName, callback) -> _on  @_e, eventName, callback
  off :(eventName, callback) -> _off @_e, eventName, callback

    _off _e, eventName, callback
    return this

  # INSTANCE METHODS
  # to enable anInstance.on or anInstance.emit (anInstance being new ClassName)

  constructor:->
    # static listeners will be put here
    @_e = {}

  emit:(eventName, args...)->
    @_e[eventName] ?= []

    listenerStack = []

    # event wildcards are disabled until implemented in a performant way

    # for own eventToBeFired of @_e
    #   continue if eventToBeFired is eventName
