The simplest eventing library that could possible work.
var signal =var clicked =clicked// => 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.jsfile. Note that NPM is the recommended and officially supported way, and that the UMD bundle will include all the dependencies for the library.
Read online at http://shoutout.rtfd.org/ or build your own local copy:
$ make docs
Note that you'll need Sphinx
$ 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
MIT/X11. i.e.: do whatever you want.