code: function triggerListeners(listeners, event, args)
    {
      if (listeners && event in listeners)
      {
        var eventListeners = listeners[ event ];
        var triggerGroup = ++triggerId;
        var next, node = eventListeners.next;
  
        while (node !== eventListeners)
        {
          next = node.next;
          node.trigger( triggerGroup, args, false );
          node = next;
        }
  
        node = eventListeners.next;
  
        while (node !== eventListeners)
        {
          next = node.next;
          node.trigger( triggerGroup, args, true );
          node = next;
        }
      }
    }
docs: Triggers listeneers for the given event