lass="pilcrow" href="#section-8">&#182;</a>               </div>               <h2>manager.on(event, handler)</h2>

<p>Takes a string of space-separated events and
calls the provided handler function when the given
events trigger. Available events are:</p>

<ul>
<li>undo</li>
<li>redo</li>
<li>change</li>
<li>push</li>
<li>buffered</li>
</ul>             </td>             <td class="code">               <div class="highlight"><pre>  <span class="kc">on</span><span class="o">:</span> <span class="nf">(args..