Simple event handling functions. Based on
on module is used to listen for events.
on returns an object containing a
remove method, which removes the event handler.
It can use extension events, also.
on.once provides a way to listen to an event one time (automatically removes the handler after first call).
on.pausable behaves as a normal
on call, but the returned object has
resume methods, too.
pause stops the event handler callback from being called, while calling
resume starts it again.
emit module is used for publishing events.
A Class that exposes
emit methods on the object.
var Evented = ;var obj = ;obj;obj;