lib/Ext/core/EventManager.js
function(element, eventName, fn, scope, options) {
        //<debug warn>
        Ext.Logger.deprecate("Ext.EventManager.addListener is deprecated, use addListener() directly from an instance of Ext.Element instead", 2);
        //</debug>
        element.on(eventName, fn, scope, options);
    }
function(element, eventName, fn, scope, options) {
        //<debug warn>
        Ext.Logger.deprecate("Ext.EventManager.addListener is deprecated, use addListener() directly from an instance of Ext.Element instead", 2);
        //</debug>
        element.on(eventName, fn, scope, options);
    }
Appends an event handler to an element.  The shorthand version {@link #on} is equivalent.  Typically you will
use {@link Ext.Element#addListener} directly on an Element in favor of calling this version.
@param {String/HTMLElement} el The HTML element or `id` to assign the event handler to.
@param {String} eventName The name of the event to listen for.
@param {Function} handler The handler function the event invokes. This function is passed
the following parameters:
@param {Ext.EventObject} handler.evt The {@link Ext.EventObject EventObject} describing the event.
@param {Ext.Element} handler.t The {@link Ext.Element Element} which was the target of the event.
Note that this may be filtered by using the `delegate` option.
@param {Object} handler.o The options object from the addListener call.
@param {Object} scope (optional) The scope (`this` reference) in which the handler function is executed. __Defaults to the Element__.
@param {Object} options (optional) An object containing handler configuration properties.
This may contain any of the following properties:
@param {Object} [options.scope] The scope (`this` reference) in which the handler function is executed. __Defaults to the Element__.
@param {String} [options.delegate] A simple selector to filter the target or look for a descendant of the target.
@param {Boolean} [options.stopEvent] `true` to stop the event. That is stop propagation, and prevent the default action.
@param {Boolean} [options.preventDefault] `true` to prevent the default action.
@param {Boolean} [options.stopPropagation] `true` to prevent event propagation.
@param {Boolean} [options.normalized] `false` to pass a browser event to the handler function instead of an Ext.EventObject.
@param {Number} [options.delay] The number of milliseconds to delay the invocation of the handler after the event fires.
@param {Boolean} [options.single] `true` to add a handler to handle just the next firing of the event, and then remove itself.
@param {Number} [options.buffer] Causes the handler to be scheduled to run in an {@link Ext.util.DelayedTask} delayed
by the specified number of milliseconds. If the event fires again within that time, the original
handler is _not_ invoked, but the new handler is scheduled in its place.
@param {Ext.Element} [options.target] Only call the handler if the event was fired on the target Element, _not_ if the event was bubbled up from a child node.

See {@link Ext.Element#addListener} for examples of how to use these options.
@deprecated 2.0.0 Please use {@link Ext.dom.Element#addListener addListener} on an instance of Ext.Element instead.