doom-bean
DOOM bridge for the Bean event framework.
Last updated 8 years ago by killdream .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install doom-bean 
SYNC missed versions from official npm registry.

DOOM: Bean

DOOM bridge for the Bean event framework.

Example

// 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)
})

Installing

Just grab it from NPM:

$ npm install doom-bean

Licence

MIT/X11. ie.: do whatever you want.

Current Tags

  • 0.1.0                                ...           latest (8 years ago)

1 Versions

  • 0.1.0                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (1)

Copyright 2014 - 2016 © taobao.org |