The simplest eventing library that could possible work.
npm install shoutoutShout-out
=========





The simplest eventing library that could possible work.
``js
var signal = require('shoutout')
var clicked = signal()
clicked.add(function(x, y){ console.log(x, y) })
clicked(10, 10)
// => 10 10
`
Easy-modo: grab it from NPM (use [Browserify][] if you're on a browser):
$ npm install shoutout
> If you're using AMD or no module system at all, you can grab the
> dist/shoutout.umd.js` file. Note that NPM is the recommended and
> officially supported way, and that the UMD bundle will include all the
> dependencies for the library.
[browserify]: https://github.com/substack/node-browserify
Read online at http://shoutout.rtfd.org/ or build your own local copy:
$ make docs
> Note that you'll need Sphinx
For node:
$ npm test
For the browser:
$ npm install -g brofist-browser
$ make test-browser
This library assumes an ES5 environment, but can be easily supported in ES3
platforms by the use of shims. Just include [es5-shim][] :3
[es5-shim]: https://github.com/kriskowal/es5-shim
- Use the [Github tracker][] for reporting bugs/requesting features.
- The [Google Group][] for general discussion.
- Follow [@orphoundation][] on Twitter for quick updates.
- Check the [Google+ community][] for major updates.
[Github tracker]: https://github.com/killdream/shoutout/issues
[Google group]: https://groups.google.com/group/orphoundation
[@orphoundation]: http://twitter.com/orphoundation
[Google+ community]: https://plus.google.com/communities/102026244049761348627
- Maintainers: Quildreen Motta
- Contributors
MIT/X11. i.e.: do whatever you want.