src/aria/utils/Event.js
function (element, event) {
                var normalized = {
                    element: element,
                    event: event
                };
                if ('mousewheel' == event) {
                    if (this.UA.isIE) {
                        if (element == Aria.$window) {
                            normalized.element = element.document;
                        }
                    } else if (!(this.UA.isOpera || this.UA.isSafari || this.UA.isWebkit)) {
                        normalized.event = 'DOMMouseScroll';
                    }
                }
                return normalized;
            }
function (element, event) {
                var normalized = {
                    element: element,
                    event: event
                };
                if ('mousewheel' == event) {
                    if (this.UA.isIE) {
                        if (element == Aria.$window) {
                            normalized.element = element.document;
                        }
                    } else if (!(this.UA.isOpera || this.UA.isSafari || this.UA.isWebkit)) {
                        normalized.event = 'DOMMouseScroll';
                    }
                }
                return normalized;
            }
function ( element , event ) { var normalized = { element : element , event : event } ; if ( 'mousewheel' == event ) { if ( this . UA . isIE ) { if ( element == Aria . $window ) { normalized . element = element . document ; } } else if ( ! ( this . UA . isOpera || this . UA . isSafari || this . UA . isWebkit ) ) { normalized . event = 'DOMMouseScroll' ; } } return normalized ; }
Normalize target and event for cross-browser compatibility
@param {EventTarget} target of the event
@param {String} event type
@protected
Normalize target and event for cross - browser compatibility