src/aria/touch/Gesture.js
function () {
            if (!this.eventsAlreadyAttached) {
                this.body = Aria.$window.document.body;
                var map = this._getInitialListenersList();
                for (var i = 0; i < map.length; i++) {
                    this._addListener(map[i].evt, map[i].cb);
                }
                this.eventsAlreadyAttached = true;
            }
        }
function () {
            if (!this.eventsAlreadyAttached) {
                this.body = Aria.$window.document.body;
                var map = this._getInitialListenersList();
                for (var i = 0; i < map.length; i++) {
                    this._addListener(map[i].evt, map[i].cb);
                }
                this.eventsAlreadyAttached = true;
            }
        }
function ( ) { if ( ! this . eventsAlreadyAttached ) { this . body = Aria . $window . document . body ; var map = this . _getInitialListenersList ( ) ; for ( var i = 0 ; i < map . length ; i ++ ) { this . _addListener ( map [ i ] . evt , map [ i ] . cb ) ; } this . eventsAlreadyAttached = true ; } }
This method is called when AriaWindow sends an attachWindow event. It registers the initial listeners for the
gesture.
@private
This method is called when AriaWindow sends an attachWindow event . It registers the initial listeners for the gesture .