code: function getListeners(element) {
          var id = idHandler.get(element);
  
          if (id === undefined) {
              return [];
          }
  
          return eventListeners[id] || [];
      }
docs: Gets all listeners for the given element.
  @public
  @param {element} element The element to get all listeners for.
  @returns All listeners for the given element.