src/aria/utils/Event.js
function (e) {
                // call unload listeners
                // Keep a local copy of the reference to unloadListeners because it is possible that a listener calls
                // aria.utils.Event.reset (that's what AriaWindow is doing).
                var list = unloadListeners.slice();
                for (var i = 0, len = list.length; i < len; ++i) {
                    var l = list[i];
                    if (l) {
                        l[CB].call(this.getEvent(e));
                        list[i] = null;
                        l = null;
                    }
                }
                list = null;
            }
function (e) {
                // call unload listeners
                // Keep a local copy of the reference to unloadListeners because it is possible that a listener calls
                // aria.utils.Event.reset (that's what AriaWindow is doing).
                var list = unloadListeners.slice();
                for (var i = 0, len = list.length; i < len; ++i) {
                    var l = list[i];
                    if (l) {
                        l[CB].call(this.getEvent(e));
                        list[i] = null;
                        l = null;
                    }
                }
                list = null;
            }
function ( e ) { // call unload listeners // Keep a local copy of the reference to unloadListeners because it is possible that a listener calls // aria.utils.Event.reset (that's what AriaWindow is doing). var list = unloadListeners . slice ( ) ; for ( var i = 0 , len = list . length ; i < len ; ++ i ) { var l = list [ i ] ; if ( l ) { l [ CB ] . call ( this . getEvent ( e ) ) ; list [ i ] = null ; l = null ; } } list = null ; }
Handler for the unload event.
@param {Object} e DOM event
Handler for the unload event .