lib/kissy/5.0.0-alpha.3/lib/build/event/custom.js
function (anotherTarget) {
            var self = this, targets = self.getTargets();
            if (!util.inArray(anotherTarget, targets)) {
                targets.push(anotherTarget);
            }
            return self;
        }
function (anotherTarget) {
            var self = this, targets = self.getTargets();
            if (!util.inArray(anotherTarget, targets)) {
                targets.push(anotherTarget);
            }
            return self;
        }
function ( anotherTarget ) { var self = this , targets = self . getTargets ( ) ; if ( ! util . inArray ( anotherTarget , targets ) ) { targets . push ( anotherTarget ) ; } return self ; }
Registers another EventTarget as a bubble target.
@method addTarget
@param {KISSY.Event.CustomEvent.Target} anotherTarget Another EventTarget instance to add
@chainable
Registers another EventTarget as a bubble target .