jQuery.event.trigger() : Pass the "event" object as an argument to "elem[type]()" call

jQuery.event.trigger() : Pass the "event" object as an argument to "elem[type]()" call


In function jQuery.event.trigger(), there is the following call (l. 4357 in jquery-2.1.1.js) :

  1. elem[ type ]();

why not pass the event object as an argument ? This way :

  1. elem[ type ](event);

This would provide the event object to the called function which is usually essential. In my case, this would allow to retrieve the namespace and thus adapt the action.