DOOM bridge for the Bean event framework.
// Require bean and instantiate DOOM using it for the eventing stuff
var bean = require('doom-bean')
var doom = require('doom')(undefined, bean)
// Then use DOOM event functions normally
doom.delegate('.clickable', 'click', doom.query('body'), function(ev, el) {
ev.preventDefault()
doom.addClass('active', el)
})
Just grab it from NPM:
$ npm install doom-bean
MIT/X11. ie.: do whatever you want.