raimohanska/bacon.js — pull request #4 by lautis (2012-05-15 10:48:30+00:00)
Title: Add EventTarget and EventEmitter integration

Allow EventStreams to be created from [DOM EventTarget](http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-EventTarget) (DOM element, XHR, Server-Sent Events, WebSocket) or node.js [EventEmitters](http://nodejs.org/docs/latest/api/events.html#events_class_events_eventemitter) using Bacon.fromEventTarget(target, eventName).

The function name might benefit from a naming committee to ensure uniformity with other functions.