my-prefix'</span>);

<span class="hljs-comment">// listen for events from ee1 being piped through</span>
ee2.on(<span class="hljs-string">'my-prefix.click'</span>, <span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params"></span>)</span>{
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'got here'</span>);
});

<span class="hljs-comment">// will cause 'got here' to be logged</span>
ee1.emit(<span class="hljs-string">'click'</span>);</code></pr