{"_id":"final-events","_rev":"30-f9790d00ddc45806137a01867db82a9b","name":"final-events","description":"Event Dispatcher with bubbling feature","dist-tags":{"latest":"0.5.0"},"versions":{"0.0.2":{"name":"final-events","version":"0.0.2","description":"Event Dispatcher with bubbling feature","main":"src/eventDispatcher.js","author":{"name":"Szymon Wygnański","email":"s@finalclass.net"},"scripts":{"test":"jasmine-node test/"},"devDependencies":{"jasmine-node":"~1.11.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.3","grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-uglify":"~0.2.2","grunt-contrib-watch":"~0.5.3","grunt-contrib-concat":"~0.3.0"},"repository":{"type":"git","url":"git@github.com:finalclass/final-events.git"},"keywords":["events","event","dispatcher","event","emitter","emitter"],"license":"MIT","bugs":{"url":"https://github.com/finalclass/final-events/issues"},"_id":"final-events@0.0.2","dist":{"shasum":"1b14948416bebebbb0d4f0aebe27f065b25922b3","tarball":"https://registry.npmjs.org/final-events/-/final-events-0.0.2.tgz","integrity":"sha512-ddLBU2x5X7aZyOzHbP7nTnqaGzVzenF4DOWZsJMkAO2WEMN5OsemnHebsOIFf1zRh0UJbACxTGErc443tEUiHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvhosUmtk6Sn52w9Vk7g5+peePc+WxiTjzh/aAYTJzDwIhAJzPZB4hiP7fpKVdWfG1ruxc/kob1s1lnHdFcfljBtR6"}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sel","email":"s@finalclass.net"},"maintainers":[{"name":"sel","email":"s@finalclass.net"}],"directories":{}},"0.1.0":{"name":"final-events","version":"0.1.0","description":"Event Dispatcher with bubbling feature","main":"src/eventDispatcher.js","author":{"name":"Szymon Wygnański","email":"s@finalclass.net"},"scripts":{"test":"jasmine-node test/"},"devDependencies":{"jasmine-node":"~1.11.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.3","grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-uglify":"~0.2.2","grunt-contrib-watch":"~0.5.3","grunt-contrib-concat":"~0.3.0"},"repository":{"type":"git","url":"git@github.com:finalclass/final-events.git"},"keywords":["events","event","dispatcher","event","emitter","emitter"],"license":"MIT","bugs":{"url":"https://github.com/finalclass/final-events/issues"},"_id":"final-events@0.1.0","dist":{"shasum":"011c0e834593f218325be89bb0a69e6fa24de47b","tarball":"https://registry.npmjs.org/final-events/-/final-events-0.1.0.tgz","integrity":"sha512-7jxMz72uv6iDE4+VoyBkw3NumHrWSqGn8PvJOx5fILN/DtnTYVytBZIVDk6TQHLI1iuYXgZ6IGFA9Xtzt+iTTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBMdT3lPc39ABuO/rKXRtsUiC5IAvTqymYyoDaU2s1fDAiBMY/PPvujm/EudM2cp4sAvaKAU1bxoPCuCs42z7Wnqvg=="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sel","email":"s@finalclass.net"},"maintainers":[{"name":"sel","email":"s@finalclass.net"}],"directories":{}},"0.2.0":{"name":"final-events","version":"0.2.0","description":"Event Dispatcher with bubbling feature","main":"src/eventDispatcher.js","author":{"name":"Szymon Wygnański","email":"s@finalclass.net"},"scripts":{"test":"jasmine-node test/"},"devDependencies":{"jasmine-node":"~1.11.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.3","grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-uglify":"~0.2.2","grunt-contrib-watch":"~0.5.3","grunt-contrib-concat":"~0.3.0"},"repository":{"type":"git","url":"git@github.com:finalclass/final-events.git"},"keywords":["events","event","dispatcher","event","emitter","emitter"],"license":"MIT","bugs":{"url":"https://github.com/finalclass/final-events/issues"},"_id":"final-events@0.2.0","dist":{"shasum":"d311c64fa4f4386dfc3bf758d8dcad2913545595","tarball":"https://registry.npmjs.org/final-events/-/final-events-0.2.0.tgz","integrity":"sha512-BGNh1lIWlr8kfxNO3lKsiMtT6snN4eH6JXkTNUg+M74B1Xc0QnfqcsuYf0Nidryr4CQuNDVehr8TpFqdGIAFnQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDduzJpYua0LV0+rsQRNHCaMuFovALQ4R+eZWi1YdjyBAiEAyTY88upck995RYE0HpyxfR00NefNG9pOpvZ4z1iksbE="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sel","email":"s@finalclass.net"},"maintainers":[{"name":"sel","email":"s@finalclass.net"}],"directories":{}},"0.2.1":{"name":"final-events","version":"0.2.1","description":"Event Dispatcher with bubbling feature","main":"src/eventDispatcher.js","author":{"name":"Szymon Wygnański","email":"s@finalclass.net"},"scripts":{"test":"jasmine-node test/"},"devDependencies":{"jasmine-node":"~1.11.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.3","grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-uglify":"~0.2.2","grunt-contrib-watch":"~0.5.3","grunt-contrib-concat":"~0.3.0"},"repository":{"type":"git","url":"git@github.com:finalclass/final-events.git"},"keywords":["events","event","dispatcher","event","emitter","emitter"],"license":"MIT","bugs":{"url":"https://github.com/finalclass/final-events/issues"},"_id":"final-events@0.2.1","dist":{"shasum":"24be0e51475b9b647df60f651d9d883bae44681b","tarball":"https://registry.npmjs.org/final-events/-/final-events-0.2.1.tgz","integrity":"sha512-tIKlrvkTs/baWArZYJmaq35kx9yzcO/VX2nB/u3WewT8MjQk749SA1dQpa3bO+0Ve9KUO4R4A69qv05lC10UNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCylP52C9+ujfwi2Axjt6q6yJDxjkxuL2BoI0Eoi074TgIhAMzIhkPE8kc0V8kcbpMbDI10Sn5GbHhtz2pcqADS7/Bf"}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sel","email":"s@finalclass.net"},"maintainers":[{"name":"sel","email":"s@finalclass.net"}],"directories":{}},"0.2.2":{"name":"final-events","version":"0.2.2","description":"Event Dispatcher with bubbling feature","main":"src/eventDispatcher.js","author":{"name":"Szymon Wygnański","email":"s@finalclass.net"},"scripts":{"test":"jasmine-node test/"},"devDependencies":{"jasmine-node":"~1.11.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.3","grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-uglify":"~0.2.2","grunt-contrib-watch":"~0.5.3","grunt-contrib-concat":"~0.3.0"},"repository":{"type":"git","url":"git@github.com:finalclass/final-events.git"},"keywords":["events","event","dispatcher","event","emitter","emitter"],"license":"MIT","bugs":{"url":"https://github.com/finalclass/final-events/issues"},"_id":"final-events@0.2.2","dist":{"shasum":"0ebb11ea83cad9ca51340ee6aeb06ef27e4cf901","tarball":"https://registry.npmjs.org/final-events/-/final-events-0.2.2.tgz","integrity":"sha512-gVH6yc27OdsD/SH5XDt4+dHEAb6kGTwXTFUnMB+ow2WTJxla0sXGKQB60ndV9BBL1VnFe4JQCDopBg0g6C/dJA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2TEeV23L9gjozPvr5XECiytZREX6OKBgnh9aYBFqnwAIgQR15+L99CeRsbUhc+ZrJ7kX1HYYMispt9qBPEwv8yE0="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sel","email":"s@finalclass.net"},"maintainers":[{"name":"sel","email":"s@finalclass.net"}],"directories":{}},"0.2.3":{"name":"final-events","version":"0.2.3","description":"Event Dispatcher with bubbling feature","main":"src/eventDispatcher.js","author":{"name":"Szymon Wygnański","email":"s@finalclass.net"},"scripts":{"test":"jasmine-node test/"},"devDependencies":{"jasmine-node":"~1.11.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.3","grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-uglify":"~0.2.2","grunt-contrib-watch":"~0.5.3","grunt-contrib-concat":"~0.3.0"},"repository":{"type":"git","url":"git@github.com:finalclass/final-events.git"},"keywords":["events","event","dispatcher","event","emitter","emitter"],"license":"MIT","bugs":{"url":"https://github.com/finalclass/final-events/issues"},"_id":"final-events@0.2.3","dist":{"shasum":"7780e3baa0e155e354df7beeb0a3388fbf1ff168","tarball":"https://registry.npmjs.org/final-events/-/final-events-0.2.3.tgz","integrity":"sha512-r5fOn9PdTWAfMCehkftAYZG4vWm2QK3zMHoKZ092p8n043mzpZwyFU923bzT0ITHrlCr8geHMPU0bO7Eg4ENCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZFcbPKvbEuCH1VbLXITsiQS/sIknZXlNAkumFx3mWqwIhAKHQfZrXu8XCSk7Hppy2Uy14k/qs93QrUxhv7XD6uLfb"}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sel","email":"s@finalclass.net"},"maintainers":[{"name":"sel","email":"s@finalclass.net"}],"directories":{}},"0.2.4":{"name":"final-events","version":"0.2.4","description":"Event Dispatcher with bubbling feature","main":"src/eventDispatcher.js","author":{"name":"Szymon Wygnański","email":"s@finalclass.net"},"scripts":{"test":"jasmine-node test/"},"devDependencies":{"jasmine-node":"~1.11.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.3","grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-uglify":"~0.2.2","grunt-contrib-watch":"~0.5.3","grunt-contrib-concat":"~0.3.0"},"repository":{"type":"git","url":"git@github.com:finalclass/final-events.git"},"keywords":["events","event","dispatcher","event","emitter","emitter"],"license":"MIT","bugs":{"url":"https://github.com/finalclass/final-events/issues"},"_id":"final-events@0.2.4","dist":{"shasum":"475fed447067df753892b98126906775bfe945af","tarball":"https://registry.npmjs.org/final-events/-/final-events-0.2.4.tgz","integrity":"sha512-besLHE4ATJbXNN8lxuSUvUb4fp6ORmhHc+AUOM8iuACpx7h9wLFkHVOg7kLGQ326V6TpnqDuYwgoQBjvSM0iKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeFbMOyYBufG8myCA29Qz/GH29XDcECEkY0ESNiLKTlwIhANKZ4m7Leua3jjOGunJf34yzGHJZ6zLQ5viZsa9DuGKa"}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sel","email":"s@finalclass.net"},"maintainers":[{"name":"sel","email":"s@finalclass.net"}],"directories":{}},"0.3.0":{"name":"final-events","version":"0.3.0","description":"Event Dispatcher with bubbling feature","main":"src/eventDispatcher.js","author":{"name":"Szymon Wygnański","email":"s@finalclass.net"},"scripts":{"test":"jasmine-node test/"},"devDependencies":{"jasmine-node":"~1.11.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.3","grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-uglify":"~0.2.2","grunt-contrib-watch":"~0.5.3","grunt-contrib-concat":"~0.3.0"},"repository":{"type":"git","url":"git@github.com:finalclass/final-events.git"},"keywords":["events","event","dispatcher","event","emitter","emitter"],"license":"MIT","bugs":{"url":"https://github.com/finalclass/final-events/issues"},"_id":"final-events@0.3.0","dist":{"shasum":"66f11e34269f9e77d09e920432673ea098228b09","tarball":"https://registry.npmjs.org/final-events/-/final-events-0.3.0.tgz","integrity":"sha512-3IEbogKJg+HHF744qpY9oq+sRYgb9W7PGK3NpSKrGkCO2/bkMGDJWob77n16He86C3SotB2ptET+mP4wy0ZGeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiGW3cXv3SAXc0UiWqxijToTpU7SzCAvkXDEPC0P069wIgA4z+czVJIgnXykuoUaJKdi+YoSLezMGWrrONs9+Nf04="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sel","email":"s@finalclass.net"},"maintainers":[{"name":"sel","email":"s@finalclass.net"}],"directories":{}},"0.4.0":{"name":"final-events","version":"0.4.0","description":"Event Dispatcher with bubbling feature","main":"build/final-events.js","author":{"name":"Szymon Wygnański","email":"s@finalclass.net"},"scripts":{"test":"jasmine-node test/"},"devDependencies":{"jasmine-node":"~1.11.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.3","grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-uglify":"~0.2.2","grunt-contrib-watch":"~0.5.3","grunt-contrib-concat":"~0.3.0"},"repository":{"type":"git","url":"git@github.com:finalclass/final-events.git"},"keywords":["events","event","dispatcher","event","emitter","emitter"],"license":"MIT","bugs":{"url":"https://github.com/finalclass/final-events/issues"},"_id":"final-events@0.4.0","dist":{"shasum":"a47effe8793ab713eedadc1f7440daa8441ed4b1","tarball":"https://registry.npmjs.org/final-events/-/final-events-0.4.0.tgz","integrity":"sha512-Aaz/PfNiRSwNgPN05fbCPhhzv3D8XTlA1iiOIzVTyZmQWg1/XcVk4CGHfllcStrSn73YKhgVYH0mp23EWRArgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTv84wNveKY/JutyLVK+1kTTv9cSpkDcrtxpzkMgyAzAIgcp92kW7A5gzrFdOm3qRbl/9cxlFPwouwYS378ok0bVE="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sel","email":"s@finalclass.net"},"maintainers":[{"name":"sel","email":"s@finalclass.net"}],"directories":{}},"0.4.2":{"name":"final-events","version":"0.4.2","description":"Event Dispatcher with bubbling feature","main":"build/final-events.js","author":{"name":"Szymon Wygnański","email":"s@finalclass.net"},"scripts":{"test":"jasmine-node test/"},"devDependencies":{"jasmine-node":"~1.11.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.3","grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-uglify":"~0.2.2","grunt-contrib-watch":"~0.5.3","grunt-contrib-concat":"~0.3.0"},"repository":{"type":"git","url":"git@github.com:finalclass/final-events.git"},"keywords":["events","event","dispatcher","event","emitter","emitter"],"license":"MIT","bugs":{"url":"https://github.com/finalclass/final-events/issues"},"_id":"final-events@0.4.2","dist":{"shasum":"1c280922ad6289a6910886bb9cc7282542166d5e","tarball":"https://registry.npmjs.org/final-events/-/final-events-0.4.2.tgz","integrity":"sha512-nXAYD8nAhUHlUoGhnEiSaIyBCOXELTW2kE9UKMS0RtZi1t/J6OO1D39y+OhxDDH1VZpDbyJQ13iYuwdoeeZ1sQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDhd7kf7wRrPgSwdBZeNlj2CChsqJOmQsPExY3eFuBJ8AiAbdv2wEBl/LJjptHNtVsO0cpJFN2USi2JFB5k+4XNQnA=="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sel","email":"s@finalclass.net"},"maintainers":[{"name":"sel","email":"s@finalclass.net"}],"directories":{}},"0.4.3":{"name":"final-events","version":"0.4.3","description":"Event Dispatcher with bubbling feature","main":"build/final-events.js","author":{"name":"Szymon Wygnański","email":"s@finalclass.net"},"scripts":{"test":"jasmine-node test/"},"devDependencies":{"jasmine-node":"~1.11.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.3","grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-uglify":"~0.2.2","grunt-contrib-watch":"~0.5.3","grunt-contrib-concat":"~0.3.0"},"repository":{"type":"git","url":"git@github.com:finalclass/final-events.git"},"keywords":["events","event","dispatcher","event","emitter","emitter"],"license":"MIT","bugs":{"url":"https://github.com/finalclass/final-events/issues"},"_id":"final-events@0.4.3","dist":{"shasum":"a95c700c93c0923cbd16b2d41dcb8ec0029a8062","tarball":"https://registry.npmjs.org/final-events/-/final-events-0.4.3.tgz","integrity":"sha512-J3JBt8pXkFcrUVDNqy16L6LUYdtx+VJITejl2QC0Efjv3q4VidCzb8cjUZA1rjxpSVg6Xopytmq9pIGMHzmHjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICgB7kbcoQo6Z83jA8EH8STB8EiJdspBwraOyWcpGDjhAiBxK8w8EG5spiGQeqBRyelq63kXhS5Y96ByK/QlHYmiBA=="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sel","email":"s@finalclass.net"},"maintainers":[{"name":"sel","email":"s@finalclass.net"}],"directories":{}},"0.4.4":{"name":"final-events","version":"0.4.4","description":"Event Dispatcher with bubbling feature","main":"src/init-node.js","author":{"name":"Szymon Wygnański","email":"s@finalclass.net"},"scripts":{"test":"jasmine-node test/"},"devDependencies":{"jasmine-node":"~1.11.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.3","grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-uglify":"~0.2.2","grunt-contrib-watch":"~0.5.3","grunt-contrib-concat":"~0.3.0"},"repository":{"type":"git","url":"git@github.com:finalclass/final-events.git"},"keywords":["events","event","dispatcher","event","emitter","emitter"],"license":"MIT","bugs":{"url":"https://github.com/finalclass/final-events/issues"},"_id":"final-events@0.4.4","dist":{"shasum":"3c41fb8542f7f56bccf7aac21843d98013e841d5","tarball":"https://registry.npmjs.org/final-events/-/final-events-0.4.4.tgz","integrity":"sha512-UPmrpCS5Cw6cohmWTIXUndT281AsQn6JXm7eTZciT6yOxMS2rwccxW0SRZR/W5DxF0aZlGE29HbNcrQttdCTqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICVy14rG50BSM/ms5g2IZFy3rPL9OATzmghglre1gfFuAiEAz5u3uHsAf75kysGA6Eq7QIeOg9Nbj1ZpkvQFltRDfq0="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sel","email":"s@finalclass.net"},"maintainers":[{"name":"sel","email":"s@finalclass.net"}],"directories":{}},"0.5.0":{"name":"final-events","version":"0.5.0","description":"Event Dispatcher with bubbling feature","main":"src/init-node.js","author":{"name":"Szymon Wygnański","email":"s@finalclass.net"},"scripts":{"test":"jasmine-node test/"},"devDependencies":{"jasmine-node":"~1.11.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.3","grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-uglify":"~0.2.2","grunt-contrib-watch":"~0.5.3","grunt-contrib-concat":"~0.3.0"},"repository":{"type":"git","url":"git@github.com:finalclass/final-events.git"},"keywords":["events","event","dispatcher","event","emitter","emitter"],"license":"MIT","bugs":{"url":"https://github.com/finalclass/final-events/issues"},"gitHead":"663af48d0caf1d5419451ca8cf0e5a15358d5e6f","homepage":"https://github.com/finalclass/final-events","_id":"final-events@0.5.0","_shasum":"58d6d6e9bc36ee2ba98361faf952b5bb7987cee0","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"sel","email":"s@finalclass.net"},"maintainers":[{"name":"sel","email":"s@finalclass.net"}],"dist":{"shasum":"58d6d6e9bc36ee2ba98361faf952b5bb7987cee0","tarball":"https://registry.npmjs.org/final-events/-/final-events-0.5.0.tgz","integrity":"sha512-ac6NAIIrFeBtvPByRnv1Xb6E8KitHbVJZD+vNZnjX0dD8NnQ3ONSfAsS7HUWWxbGJOTud+kOFkJF7+lvi9zwZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFdfLOZG1lPxlKHfxUyCXrS6S7MhNsNYh+t4AyFY7K5iAiEAw/0jJFsAMPy3p0rhRiiOyNMWU0aqOTZHHqdJV3SUteA="}]},"directories":{}}},"readme":"Final-Events\n===============\n\nEvent dispatcher with the bubbling feature\n\n## Installation\n\n### node\n\n```bash\nnpm install final-events\n```\n\n```js\nvar dispatcher = require('final-events').dispatcher;\n```\n\n### browser\n\n```bash\nbower install final-events\n```\n\n```html\n<script type=\"text/javascript\" href=\"/bower_components/final-events/build/final-events.js\"></script>\n<script>\n    var dispatcher = window.finalEvents.dispatcher;\n</script>\n```\n\n## Building\n\n```bash\nnpm install --dev\ngrunt\n```\n\n## Testing\n\n```bash\nnpm install --dev\nnpm test\n```\n\n## Documentation\n\n### Quick start\n\n#### Instantiation\n\nIn order to convert any object to the finalEvents.dispatcher you should do:\n\n```js\nvar myObject = {};\nfinalEvents.dispatcher(myObject);\nmyObject.on('test', function (event) {\n  console.log('Hello!');\n});\nmyObject.trigger('test');\n```\n\n#### Chaining\n\nYou can chain your functions:\n\n```js\nvar disp = finalEvents.dispatcher({});\n\ndisp\n  .on('test', function (event) {\n\n  })\n  .on('test2', function (event) {\n\n  })\n  .on('test3', function (event) {\n\n  })\n  .trigger('test')\n  .trigger({type: 'test2', data: 'DATA'})\n  .trigger({type: 'test3'});\n```\n\n### API\n\n#### addEventListener(eventType:string, eventHandler:Function, useCapture:boolean) : Object\n\nAdds event listener to the object.\nYou can set useCapture flag on this object if you want this listener to be called on the capture phase\n(see dispatchEvent method documentation below)\n\n#### on(eventType:string, listenerFunction:Function, useCapture:boolean) : Object\n\nAlias for `addEventListener` method.\n\n#### once(eventType:string, eventHandler:Function, useCapture:boolean) : Object\n\nSame as `addEventListener` but after beeing executed it's removed from the listeners\n\n#### removeEventListener(eventType:string, eventHandler:Function) : Object\n\nStops listening by eventHandler for the given eventType.\n\n#### off(eventType:string, eventHandler:Function) : Object\n\nAlias for `removeEventListener` method.\n\n#### hasEventListener(eventType:string) : boolean\n\nReturns true if `this` has any listener for the given eventType\n\n#### dispatchEvent(event:string|object) : Object\n\nThe `event` argument can be either string or object with the type property.\nIf `event` argument is a string then it's converted to the object ({type: event}).\nThe default syntax is to give object ({type:string}) as an argument however if you provide string\nthen it's ok - it'll be converted to the object. So these are valid invocations:\n\n```js\nvar disp = finalEvents.dispatcher({});\n\ndisp.dispatchEvent('test');\ndisp.dispatchEvent({type: 'test'});\n```\n\nBut these are not valid:\n\n```js\nvar disp = finalEvents.dispatcher({});\n\ndisp.dispatchEvent({data: 'abc'}); //no type property provided\n```\n\nfinalEvents uses duck typing and for the dispatcher an event is an every object that has a type property.\n\nAfter dispatching a event it's at first at capture phase. This means that this event will capture from top of a tree to the bottom.\n\nNext step is the target phase. In this phase the event is on the target that dispatched it.\n\nThe final phase is a bubbling phase. In this phase event flows from the target to the root of a tree. When it reaches the root element the event is destroyed.\n\nA tree is determined by the `parent` property of leaf objects. If there is no `parent` property, event will not be in the capture phase nor in the bubbling phase.\n\n#### trigger(event:string|object) : Object\n\nAlias for `dispatchEvent` method.\n\n#### emit(event:string|object) : Object\n\nAlias for `dispatchEvent` method.\n\n#### fire(event:string|object) : Object\n\nAlias for `dispatchEvent` method.\n\n\n### event\n\nWhen you call `object.dispatchEvent({type: 'eventName'})` object `{type: 'eventName'}` is converted by the\n `finalEvents.event` function and method `stopPropagation()` is added.\n\n#### stopPropagation()\n\nUsing this method will stop event from propagating. If you call this method in capture phase then event will not be called\non any of the current element's children nor it will be called on the target and it will not bubble.\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2013 Szymon Wygnański <s@finalclass.net>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","maintainers":[{"email":"s@finalclass.net","name":"szymon.wygnanski"}],"time":{"modified":"2023-12-17T16:46:09.580Z","created":"2013-09-24T14:33:22.222Z","0.0.2":"2013-09-24T14:33:25.876Z","0.1.0":"2013-09-25T11:00:26.940Z","0.2.0":"2013-09-25T11:30:44.201Z","0.2.1":"2013-09-25T11:31:50.352Z","0.2.2":"2013-09-25T11:33:12.622Z","0.2.3":"2013-09-25T11:35:24.531Z","0.2.4":"2013-09-25T11:36:53.907Z","0.3.0":"2013-09-30T08:31:37.574Z","0.4.0":"2013-09-30T13:03:57.656Z","0.4.2":"2013-09-30T13:19:45.602Z","0.4.3":"2013-09-30T13:22:45.337Z","0.4.4":"2013-09-30T13:58:47.902Z","0.5.0":"2015-02-13T11:24:01.756Z"},"author":{"name":"Szymon Wygnański","email":"s@finalclass.net"},"repository":{"type":"git","url":"git@github.com:finalclass/final-events.git"},"homepage":"https://github.com/finalclass/final-events","keywords":["events","event","dispatcher","event","emitter","emitter"],"bugs":{"url":"https://github.com/finalclass/final-events/issues"},"license":"MIT","readmeFilename":"README.md"}