function( type ) {
                var args, events, allEvents;
    
                if ( !this._events || !type ) {
                    return this;
                }
    
                args = slice.call( arguments, 1 );
                events = findHandlers( this._events, type );
                allEvents = findHandlers( this._events, 'all' );
    
                return triggerHanders( events, args ) &&
                        triggerHanders( allEvents, arguments );
            }
function( type ) {
                var args, events, allEvents;
    
                if ( !this._events || !type ) {
                    return this;
                }
    
                args = slice.call( arguments, 1 );
                events = findHandlers( this._events, type );
                allEvents = findHandlers( this._events, 'all' );
    
                return triggerHanders( events, args ) &&
                        triggerHanders( allEvents, arguments );
            }
function ( type ) { var args , events , allEvents ; if ( ! this . _events || ! type ) { return this ; } args = slice . call ( arguments , 1 ) ; events = findHandlers ( this . _events , type ) ; allEvents = findHandlers ( this . _events , 'all' ) ; return triggerHanders ( events , args ) && triggerHanders ( allEvents , arguments ) ; }
触发事件
@method trigger
@grammar trigger( name[, args...] ) => self
@param  {String}   type     事件名
@param  {*} [...] 任意参数
@return {Boolean} 如果handler中return false了，则返回false, 否则返回true
触发事件
Trigger event handlers