src/emitter.js
function bubbleEvent(eventName, toEmitter) {
    this.on(eventName, (event) => {
        toEmitter.emit(eventName, event.data, event);
    });
}
function bubbleEvent(eventName, toEmitter) {
    this.on(eventName, (event) => {
        toEmitter.emit(eventName, event.data, event);
    });
}
function bubbleEvent ( eventName , toEmitter ) { this . on ( eventName , ( event ) => { toEmitter . emit ( eventName , event . data , event ) ; } ) ; }
Bubbles event to other emitter
@param {string} eventName
@param {object} toEmitter
Bubbles event to other emitter