eventemitter based on proto-scope
CoffeeScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
events.coffee
events.js
package.json
test.coffee

README.md

Events-proto

Eventemitter on my proto-scope module.

Code mainly are from https://gist.github.com/Contra/2759355 .

Usage

npm install --save proto-events
{events} = require './events.js'

a = events.new()

a.on 'demo', (data) ->
  console.log 'demo:', data

a.emit 'demo', 'data?'

License

BSD-2-Clause