src/components/meta/Events.js
function(event) {
            var events = this.__collectAllPropertyValues.apply(this, ['__events', 2].concat(event || []));

            _.each(events, function(eventsListeners) {
                _.each(eventsListeners, function(listener, listenerName) {
                    if (_.isUndefined(listener)) {
                        delete eventsListeners[listenerName];
                    }
                })
            });

            return event ? events[event] || {} : events;
        }
function(event) {
            var events = this.__collectAllPropertyValues.apply(this, ['__events', 2].concat(event || []));

            _.each(events, function(eventsListeners) {
                _.each(eventsListeners, function(listener, listenerName) {
                    if (_.isUndefined(listener)) {
                        delete eventsListeners[listenerName];
                    }
                })
            });

            return event ? events[event] || {} : events;
        }
function ( event ) { var events = this . __collectAllPropertyValues . apply ( this , [ '__events' , 2 ] . concat ( event || [ ] ) ) ; _ . each ( events , function ( eventsListeners ) { _ . each ( eventsListeners , function ( listener , listenerName ) { if ( _ . isUndefined ( listener ) ) { delete eventsListeners [ listenerName ] ; } } ) } ) ; return event ? events [ event ] || { } : events ; }
Gets all event listeners for specified event

@param   {string} event Event name

@returns {object} Hash of event listener

@this {clazz|object}
Gets all event listeners for specified event