{"_id":"asEvented","_rev":"27-ab0c6a8b0e7399906a803ada3cd51d4c","name":"asEvented","description":"Micro event emitter which provides the observer pattern to JavaScript object.","dist-tags":{"latest":"0.4.3"},"versions":{"0.0.1":{"name":"asEvented","version":"0.0.1","description":"Micro event emitter which provides the observer pattern to JavaScript object.","keywords":["evemts","emitter","bind","trigger","observer"],"author":{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"},"contributors":[],"dependencies":{},"engines":{"node":"0.4.x"},"repository":{"type":"git","url":"git://github.com/mkuklis/asEvented.git"},"main":"asevented.js","_id":"asEvented@0.0.1","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.10","_nodeVersion":"v0.4.6","_defaultsLoaded":true,"dist":{"shasum":"5ef849a907c1eebf9ca6166f127b46c9a5c123cc","tarball":"https://registry.npmjs.org/asEvented/-/asEvented-0.0.1.tgz","integrity":"sha512-f+pUxawHN9ZKxx0GMcSE7+jKJtDP8D8p2Fiuz51OJ/bD4zVpAxplvX10Dkvlhk1R+zy46E+rnSnvx+ojXTbRjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSmxMM3nP+ytlSjHG8+olp0KAvAYtRmKX77qyn5cFk3gIhAMBuPvbmyzsXicXBiIk9cbX759jfzFTD/RFV0jMCZBDp"}]},"scripts":{}},"0.1.0":{"name":"asEvented","version":"0.1.0","description":"Micro event emitter which provides the observer pattern to JavaScript object.","keywords":["evemts","emitter","bind","trigger","observer"],"author":{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"},"contributors":[{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"}],"dependencies":{},"engines":{"node":"0.6.x"},"repository":{"type":"git","url":"git://github.com/mkuklis/asEvented.git"},"main":"asevented.js","_npmUser":{"name":"mkuklis","email":"michal.kuklis@gmail.com"},"_id":"asEvented@0.1.0","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-beta-10","_nodeVersion":"v0.6.7","_defaultsLoaded":true,"dist":{"shasum":"42e9467d40ed08d3e1b473e9dd84d6f5d287012a","tarball":"https://registry.npmjs.org/asEvented/-/asEvented-0.1.0.tgz","integrity":"sha512-Df9HhLX9xP8LP/0Ub9x6J4Z11LidTN2D3i6U21xq3KjpBce7v//tMLg8ZLTHtv6usyc+itkcR51yPplWSdQ8cA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDGpwd0lY7AVQfAOWdk+EgV+OAF1iWLVIVCjOoJGyHL8AiEA0tJh0OGi+ItIB9uvFiAPy5vNCSgb0PZA63a8NYSh9dc="}]},"readme":"#asEvented\n * [github.com/mkuklis/asEvented](github.com/mkuklis/asEvented)\n\n## Description\n\nasEvented is a micro event emitter which provides the observer pattern to JavaScript object. \nIt works in the browser and server (node.js). The code follows a functional mixins pattern described by Angus Croll [a-fresh-look-at-javascript-mixins](http://javascriptweblog.wordpress.com/2011/05/31/a-fresh-look-at-javascript-mixins).\n\n\n## Usage\n\nIn browser include single JavaScript file:\n \n    <script src=\"asevented.js\"></script>\n\nOn server install asEvented via npm first:\n   \n    npm install asEvented\n\nand then include it in your project with:\n\n    var asEvented = require('asEvented');\n\n\n##Example Usage\nDefine the constructor which will make use of asEvented:\n    \n    function Model() {\n      this.id = 0;\n    }\n\nAdd (mixin) asEvented functionality to Model with:\n   \n    asEvented.call(Model.prototype);\n\nmodel now has access to **trigger**, **bind** and **unbind** functions\n\nAdd some functions to Model:\n\n    Model.prototype.setId = function (id) {\n      this.id = id;\n      this.trigger('change:id', id); // Model has now access to trigger\n    }\n\nCreate a new object and bind to `change:id` event:\n\n    var model = new Model();\n    model.bind('change:id', function (id) {\n      console.log('id changed to: ' +  id);\n    });\n\nSet a few model ids in order to trigger `change:id` event:\n    \n    model.setId(1);\n    model.setId(2);\n    model.setId(3);\n\n\n##License:\n<pre>\n(The MIT License)\n\nCopyright (c) 2011 Michal Kuklis\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n</pre>\n","maintainers":[{"name":"mkuklis","email":"michal.kuklis@gmail.com"}]},"0.2.0":{"name":"asEvented","version":"0.2.0","description":"Micro event emitter which provides the observer pattern to JavaScript object.","keywords":["evemts","emitter","bind","trigger","observer"],"author":{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"},"contributors":[{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"}],"dependencies":{},"engines":{"node":"0.6.x"},"repository":{"type":"git","url":"git://github.com/mkuklis/asEvented.git"},"main":"asevented.js","_npmUser":{"name":"mkuklis","email":"michal.kuklis@gmail.com"},"_id":"asEvented@0.2.0","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-beta-10","_nodeVersion":"v0.6.7","_defaultsLoaded":true,"dist":{"shasum":"bc2839a48d1725051852215d7ad5862ec12f30a7","tarball":"https://registry.npmjs.org/asEvented/-/asEvented-0.2.0.tgz","integrity":"sha512-GdNRiIjsvAlJdbatgWATxCLGNDuw1cGc/hppKLamTuB3RxBY4wiSIEXW/iDPCkPWIaTOViEg6JwS59bq01oXuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE8+Mv0TCGQ8Lm1IjB9ZJ+PDuqYUI7nd/I/aFimtFhdNAiEAkuAsTopxNaTwYbeDlgkxUNvkigflJd5MOkpeh7FALaY="}]},"readme":"#asEvented\n * [github.com/mkuklis/asEvented](github.com/mkuklis/asEvented)\n\n## Description\n\nasEvented is a micro event emitter which provides the observer pattern to JavaScript object. \nIt works in the browser and server (node.js). The code follows a functional mixins pattern described by Angus Croll [a-fresh-look-at-javascript-mixins](http://javascriptweblog.wordpress.com/2011/05/31/a-fresh-look-at-javascript-mixins).\n\n\n## Usage\n\nIn browser include single JavaScript file:\n \n    <script src=\"asevented.js\"></script>\n\nOn server install asEvented via npm first:\n   \n    npm install asEvented\n\nand then include it in your project with:\n\n    var asEvented = require('asEvented');\n\n\n##Example Usage\nDefine the constructor which will make use of asEvented:\n    \n    function Model() {\n      this.id = 0;\n    }\n\nAdd (mixin) asEvented functionality to Model with:\n   \n    asEvented.call(Model.prototype);\n\nmodel now has access to **trigger**, **bind** and **unbind** functions\n\nAdd some functions to Model:\n\n    Model.prototype.setId = function (id) {\n      this.id = id;\n      this.trigger('change:id', id); // Model has now access to trigger\n    }\n\nCreate a new object and bind to `change:id` event:\n\n    var model = new Model();\n    model.bind('change:id', function (id) {\n      console.log('id changed to: ' +  id);\n    });\n\nSet a few model ids in order to trigger `change:id` event:\n    \n    model.setId(1);\n    model.setId(2);\n    model.setId(3);\n\n\n##License:\n<pre>\n(The MIT License)\n\nCopyright (c) 2011 Michal Kuklis\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n</pre>\n","maintainers":[{"name":"mkuklis","email":"michal.kuklis@gmail.com"}]},"0.2.1":{"name":"asEvented","version":"0.2.1","description":"Micro event emitter which provides the observer pattern to JavaScript object.","keywords":["evemts","emitter","bind","trigger","observer"],"author":{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"},"contributors":[{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"}],"dependencies":{},"engines":{"node":"0.6.x"},"repository":{"type":"git","url":"git://github.com/mkuklis/asEvented.git"},"main":"asevented.js","_npmUser":{"name":"mkuklis","email":"michal.kuklis@gmail.com"},"_id":"asEvented@0.2.1","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-beta-10","_nodeVersion":"v0.6.7","_defaultsLoaded":true,"dist":{"shasum":"598b84842580a7f92d7d841ac370f3e5d22d3be8","tarball":"https://registry.npmjs.org/asEvented/-/asEvented-0.2.1.tgz","integrity":"sha512-Y3a4otGEtsBUc+TsveoV6EWV38CbTa6Uf80po/RyQn0Wl07hChCkIMC0+587MEsrvBjCBRVJ6x9Y4u9MHFzJ2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZtJAteS6BUxj/0m//HccHfhxtXtk7pX6v5uFWgA06hgIgEFBFCcJdK/6eaNCMWGlsfFDDdqt/yWUN24sHwcqAW7U="}]},"readme":"#asEvented\n * [github.com/mkuklis/asEvented](github.com/mkuklis/asEvented)\n\n## Description\n\nasEvented is a micro event emitter which provides the observer pattern to JavaScript object. \nIt works in the browser and server (node.js). The code follows a functional mixins pattern described by Angus Croll [a-fresh-look-at-javascript-mixins](http://javascriptweblog.wordpress.com/2011/05/31/a-fresh-look-at-javascript-mixins).\n\n\n## Usage\n\nIn browser include single JavaScript file:\n \n    <script src=\"asevented.js\"></script>\n\nOn server install asEvented via npm first:\n   \n    npm install asEvented\n\nand then include it in your project with:\n\n    var asEvented = require('asEvented');\n\n\n##Example Usage\nDefine the constructor which will make use of asEvented:\n    \n    function Model() {\n      this.id = 0;\n    }\n\nAdd (mixin) asEvented functionality to Model with:\n   \n    asEvented.call(Model.prototype);\n\nmodel now has access to **trigger**, **bind** and **unbind** functions\n\nAdd some functions to Model:\n\n    Model.prototype.setId = function (id) {\n      this.id = id;\n      this.trigger('change:id', id); // Model has now access to trigger\n    }\n\nCreate a new object and bind to `change:id` event:\n\n    var model = new Model();\n    model.bind('change:id', function (id) {\n      console.log('id changed to: ' +  id);\n    });\n\nSet a few model ids in order to trigger `change:id` event:\n    \n    model.setId(1);\n    model.setId(2);\n    model.setId(3);\n\n\n##License:\n<pre>\n(The MIT License)\n\nCopyright (c) 2011 Michal Kuklis\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n</pre>\n","maintainers":[{"name":"mkuklis","email":"michal.kuklis@gmail.com"}]},"0.3.0":{"name":"asEvented","version":"0.3.0","description":"Micro event emitter which provides the observer pattern to JavaScript object.","keywords":["evemts","emitter","bind","trigger","observer"],"author":{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"},"contributors":[{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"}],"dependencies":{},"engines":{"node":"0.6.x"},"repository":{"type":"git","url":"git://github.com/mkuklis/asEvented.git"},"main":"asevented.js","_npmUser":{"name":"mkuklis","email":"michal.kuklis@gmail.com"},"_id":"asEvented@0.3.0","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.9","_nodeVersion":"v0.6.13","_defaultsLoaded":true,"dist":{"shasum":"cfdfc8530e08ac86e6656369cb726f36ff97c27a","tarball":"https://registry.npmjs.org/asEvented/-/asEvented-0.3.0.tgz","integrity":"sha512-TC4ZA59f/+G8GPjbS05GI1b8au3KxkwR9x+AaSyhVVIIDPBKsN+buABrY7GxGD+oNEuQV2GjF5DxQ9ZYmFf8AA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzrdDoZsPtbwdN8xQih/WOO5FzRdFD6jxhO+oWp5BM1AIgIQKuwyTyGrbR1WlKaDEXmvzZleFuC0AYxy912X9DLI8="}]},"readme":"#asEvented\n * [github.com/mkuklis/asEvented](github.com/mkuklis/asEvented)\n\n## Description\n\nasEvented is a micro event emitter which provides the observer pattern to JavaScript object. \nIt works in the browser and server (node.js). The code follows a functional mixins pattern described by Angus Croll [a-fresh-look-at-javascript-mixins](http://javascriptweblog.wordpress.com/2011/05/31/a-fresh-look-at-javascript-mixins).\n\n\n## Usage\n\nIn browser include single JavaScript file:\n \n    <script src=\"asevented.js\"></script>\n\nOn server install asEvented via npm first:\n\n    npm install asEvented\n\nand then include it in your project with:\n\n    var asEvented = require('asEvented');\n\n\n##Contributors\n\n@mkuklis (Michal Kuklis)\n@rk (Robert K)\n@scarsick (Alexandre Potvin Latreille)\n@mpdaugherty (Mike)\n\n\n##Example Usage\nDefine the constructor which will make use of asEvented:\n    \n    function Model() {\n      this.id = 0;\n    }\n\nAdd (mixin) asEvented functionality to Model with:\n   \n    asEvented.call(Model.prototype);\n\nmodel now has access to **trigger**, **bind** and **unbind** functions\n\nAdd some functions to Model:\n\n    Model.prototype.setId = function (id) {\n      this.id = id;\n      this.trigger('change:id', id); // Model has now access to trigger\n    }\n\nCreate a new object and bind to `change:id` event:\n\n    var model = new Model();\n    model.bind('change:id', function (id) {\n      console.log('id changed to: ' +  id);\n    });\n\nSet a few model ids in order to trigger `change:id` event:\n    \n    model.setId(1);\n    model.setId(2);\n    model.setId(3);\n\nA single handler can be bound to multiple events by separating the events by spaces, though it will be ignorant of the triggering event:\n\n    model.bind('change:id change:pass', function() {\n      console.log('Event called.');\n    });\n\nAnd multiple events can be unbound in one call:\n\n    model.unbind('onload onready');\n\n##License:\n<pre>\n(The MIT License)\n\nCopyright (c) 2011 Michal Kuklis\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n</pre>\n","maintainers":[{"name":"mkuklis","email":"michal.kuklis@gmail.com"}]},"0.3.1":{"name":"asEvented","version":"0.3.1","description":"Micro event emitter which provides the observer pattern to JavaScript object.","keywords":["evemts","emitter","bind","trigger","observer"],"author":{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"},"contributors":[{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"}],"dependencies":{},"engines":{"node":"0.6.x"},"repository":{"type":"git","url":"git://github.com/mkuklis/asEvented.git"},"main":"asevented.js","_npmUser":{"name":"mkuklis","email":"michal.kuklis@gmail.com"},"_id":"asEvented@0.3.1","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.9","_nodeVersion":"v0.6.13","_defaultsLoaded":true,"dist":{"shasum":"e14ed13f23aa961335d21f0a239028f49257392f","tarball":"https://registry.npmjs.org/asEvented/-/asEvented-0.3.1.tgz","integrity":"sha512-dqubsMWoiMMyZTH/aGp5bbjfwU5rIdQu3CxfGC7RgD2+EXzaMFVWQEVokG5ysNZJn3MMy/h4YfqoERArYxbr4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0u0+ZxE+CW1qrQ4en7Cr9hWQ2/fiNurHzEPniUN/LxQIhAIQtQGHjFoRwz55WF23is00v+3Bo1PoYSlQkKXnAO8LE"}]},"readme":"#asEvented\n * [github.com/mkuklis/asEvented](github.com/mkuklis/asEvented)\n\n## Description\n\nasEvented is a micro event emitter which provides the observer pattern to JavaScript object. \nIt works in the browser and server (node.js). The code follows a functional mixins pattern described by Angus Croll [a-fresh-look-at-javascript-mixins](http://javascriptweblog.wordpress.com/2011/05/31/a-fresh-look-at-javascript-mixins).\n\n\n## Usage\n\nIn browser include single JavaScript file:\n\n    <script src=\"asevented.js\"></script>\n\nOn server install asEvented via npm first:\n\n    npm install asEvented\n\nand then include it in your project with:\n\n    var asEvented = require('asEvented');\n\n\n##Example Usage\nDefine the constructor which will make use of asEvented:\n    \n    function Model() {\n      this.id = 0;\n    }\n\nAdd (mixin) asEvented functionality to Model with:\n   \n    asEvented.call(Model.prototype);\n\nmodel now has access to **trigger**, **bind**, **one** and **unbind** functions\n\nAdd some functions to Model:\n\n    Model.prototype.setId = function (id) {\n      this.id = id;\n      this.trigger('change:id', id); // Model has now access to trigger\n    }\n\nCreate a new object and bind to `change:id` event:\n\n    var model = new Model();\n    model.bind('change:id', function (id) {\n      console.log('id changed to: ' +  id);\n    });\n\nSet a few model ids in order to trigger `change:id` event:\n    \n    model.setId(1);\n    model.setId(2);\n    model.setId(3);\n\nA single handler can be bound to multiple events by separating the events by spaces, though it will be ignorant of the triggering event:\n\n    model.bind('change:id change:pass', function() {\n      console.log('Event called.');\n    });\n\nAnd multiple events can be unbound in one call:\n\n    model.unbind('onload onready');\n\n\n##Contributors\n\n* @mkuklis (Michal Kuklis)\n* @rk (Robert K)\n* @scarsick (Alexandre Potvin Latreille)\n* @mpdaugherty (Mike)\n\n\n##License:\n<pre>\n(The MIT License)\n\nCopyright (c) 2011 Michal Kuklis\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n</pre>\n","maintainers":[{"name":"mkuklis","email":"michal.kuklis@gmail.com"}]},"0.3.2":{"name":"asEvented","version":"0.3.2","description":"Micro event emitter which provides the observer pattern to JavaScript object.","keywords":["evemts","emitter","bind","trigger","observer"],"author":{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"},"contributors":[{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"}],"dependencies":{},"engines":{"node":"0.6.x"},"repository":{"type":"git","url":"git://github.com/mkuklis/asEvented.git"},"main":"asevented.js","_npmUser":{"name":"mkuklis","email":"michal.kuklis@gmail.com"},"_id":"asEvented@0.3.2","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.9","_nodeVersion":"v0.6.13","_defaultsLoaded":true,"dist":{"shasum":"e0285194442625b320b190c8c9eef614a6277712","tarball":"https://registry.npmjs.org/asEvented/-/asEvented-0.3.2.tgz","integrity":"sha512-QUv6tw6NUIrCzveGXV8bp6X6iDzbKa1An64gCQ0NppVpgzuNPJR7h7DMYk/rNXxXDS2OHuqhKa9ak8ZfN1s8Rg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICAJiRq/iHmh1FILnSnLEk3Ic8BZAahwlQRd/QpKhF3yAiEA2rT0+nFUULv/5jnJP+/YxQdV3v8wo6mMztbRzzQ387I="}]},"readme":"#asEvented\n * [github.com/mkuklis/asEvented](github.com/mkuklis/asEvented)\n\n## Description\n\nasEvented is a micro event emitter which provides the observer pattern to JavaScript object. \nIt works in the browser and server (node.js). The code follows a functional mixins pattern described by Angus Croll [a-fresh-look-at-javascript-mixins](http://javascriptweblog.wordpress.com/2011/05/31/a-fresh-look-at-javascript-mixins).\n\n\n## Usage\n\nIn browser include single JavaScript file:\n\n    <script src=\"asevented.js\"></script>\n\nOn server install asEvented via npm first:\n\n    npm install asEvented\n\nand then include it in your project with:\n\n    var asEvented = require('asEvented');\n\n\n##Example Usage\nDefine the constructor which will make use of asEvented:\n    \n    function Model() {\n      this.id = 0;\n    }\n\nAdd (mixin) asEvented functionality to Model with:\n   \n    asEvented.call(Model.prototype);\n\nmodel has now access to **trigger**, **bind**/**on**, **one** and **unbind**/**off** functions\n\nAdd some functions to Model:\n\n    Model.prototype.setId = function (id) {\n      this.id = id;\n      this.trigger('change:id', id); // Model has now access to trigger\n    }\n\nCreate a new object and bind to `change:id` event:\n\n    var model = new Model();\n    model.bind('change:id', function (id) {\n      console.log('id changed to: ' +  id);\n    });\n\nSet a few model ids in order to trigger `change:id` event:\n    \n    model.setId(1);\n    model.setId(2);\n    model.setId(3);\n\nA single handler can be bound to multiple events by separating the events by spaces, though it will be ignorant of the triggering event:\n\n    model.bind('change:id change:pass', function() {\n      console.log('Event called.');\n    });\n\nAnd multiple events can be unbound in one call:\n\n    model.unbind('onload onready');\n\n\n##Contributors\n\n* [@mkuklis](http://github.com/mkuklis)\n* [@rk](http://github.com/rk)\n* [@scarsick](http://github.com/scarsick)\n* [@mpdaugherty](http://github.com/mpdaugherty)\n* [@zspencer](http://github.com/zspencer)\n\n##License:\n<pre>\n(The MIT License)\n\nCopyright (c) 2011 Michal Kuklis\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n</pre>\n","maintainers":[{"name":"mkuklis","email":"michal.kuklis@gmail.com"}]},"0.3.3":{"name":"asEvented","version":"0.3.3","description":"Micro event emitter which provides the observer pattern to JavaScript object.","keywords":["evemts","emitter","bind","trigger","observer"],"author":{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"},"contributors":[{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"}],"dependencies":{},"engines":{"node":"0.6.x"},"repository":{"type":"git","url":"git://github.com/mkuklis/asEvented.git"},"main":"asevented.js","_npmUser":{"name":"mkuklis","email":"michal.kuklis@gmail.com"},"_id":"asEvented@0.3.3","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.9","_nodeVersion":"v0.6.13","_defaultsLoaded":true,"dist":{"shasum":"f9f6a22b5af3704939c361ea2bc3ab49a81403f8","tarball":"https://registry.npmjs.org/asEvented/-/asEvented-0.3.3.tgz","integrity":"sha512-QxPuH8vRNZOL5AgEnxeszrmhlDr9VYQoPGwzZ+7/4j1N3OKV/DLy7oSD/2Qb3M6M12FlP3qlQCqwtAIkfiNJXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9Nl2/Hx0qBSwbaPK6ART749aYDPvi4l7olYYyhk9ZMgIgZzhkion9Atx7Ps/Re/GIoZlLw4qYhnzy6qjyJCVEVcI="}]},"readme":"#asEvented\n * [github.com/mkuklis/asEvented](github.com/mkuklis/asEvented)\n\n## Description\n\nasEvented is a micro event emitter which provides the observer pattern to JavaScript object. \nIt works in the browser and server (node.js). The code follows a functional mixins pattern described by Angus Croll [a-fresh-look-at-javascript-mixins](http://javascriptweblog.wordpress.com/2011/05/31/a-fresh-look-at-javascript-mixins).\n\n\n## Usage\n\nIn browser include single JavaScript file:\n\n    <script src=\"asevented.js\"></script>\n\nOn server install asEvented via npm first:\n\n    npm install asEvented\n\nand then include it in your project with:\n\n    var asEvented = require('asEvented');\n\n\n##Example Usage\nDefine the constructor which will make use of asEvented:\n    \n    function Model() {\n      this.id = 0;\n    }\n\nAdd (mixin) asEvented functionality to Model with:\n   \n    asEvented.call(Model.prototype);\n\nmodel has now access to **trigger**, **bind**/**on**, **one** and **unbind**/**off** functions\n\nAdd some functions to Model:\n\n    Model.prototype.setId = function (id) {\n      this.id = id;\n      this.trigger('change:id', id); // Model has now access to trigger\n    }\n\nCreate a new object and bind to `change:id` event:\n\n    var model = new Model();\n    model.bind('change:id', function (id) {\n      console.log('id changed to: ' +  id);\n    });\n\nSet a few model ids in order to trigger `change:id` event:\n    \n    model.setId(1);\n    model.setId(2);\n    model.setId(3);\n\nA single handler can be bound to multiple events by separating the events by spaces, though it will be ignorant of the triggering event:\n\n    model.bind('change:id change:pass', function() {\n      console.log('Event called.');\n    });\n\nAnd multiple events can be unbound in one call:\n\n    model.unbind('onload onready');\n\n\n##Contributors\n\n* [@mkuklis](http://github.com/mkuklis)\n* [@rk](http://github.com/rk)\n* [@scarsick](http://github.com/scarsick)\n* [@mpdaugherty](http://github.com/mpdaugherty)\n* [@zspencer](http://github.com/zspencer)\n* [@travishorn](http://github.com/travishorn)\n\n##License:\n<pre>\n(The MIT License)\n\nCopyright (c) 2011 Michal Kuklis\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n</pre>\n","maintainers":[{"name":"mkuklis","email":"michal.kuklis@gmail.com"}]},"0.4.0":{"name":"asEvented","version":"0.4.0","description":"Micro event emitter which provides the observer pattern to JavaScript object.","keywords":["evemts","emitter","bind","trigger","observer"],"author":{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"},"contributors":[{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"}],"dependencies":{},"engines":{"node":"*"},"repository":{"type":"git","url":"git://github.com/mkuklis/asEvented.git"},"main":"asevented.js","readme":"#asEvented\n\n[![build status](https://secure.travis-ci.org/mkuklis/asEvented.png)](http://travis-ci.org/mkuklis/asEvented)\n\n## Description\n\nasEvented is a micro event emitter which provides the observer pattern to JavaScript object. \nIt works in the browser and server (node.js). The code follows a functional mixins pattern described by Angus Croll [a-fresh-look-at-javascript-mixins](http://javascriptweblog.wordpress.com/2011/05/31/a-fresh-look-at-javascript-mixins).\n\n\n## Usage\n\nIn browser include single JavaScript file:\n\n    <script src=\"asevented.js\"></script>\n\nOn server install asEvented via npm first:\n\n    npm install asEvented\n\nand then include it in your project with:\n\n    var asEvented = require('asEvented');\n\n\n##Example Usage\nDefine the constructor which will make use of asEvented:\n    \n    function Model() {\n      this.id = 0;\n    }\n\nAdd (mixin) asEvented functionality to Model with:\n   \n    asEvented.call(Model.prototype);\n\nmodel has now access to **trigger**, **bind**/**on**, **one** and **unbind**/**off** functions\n\nAdd some functions to Model:\n\n    Model.prototype.setId = function (id) {\n      this.id = id;\n      this.trigger('change:id', id); // Model has now access to trigger\n    }\n\nCreate a new object and bind to `change:id` event:\n\n    var model = new Model();\n    model.bind('change:id', function (id) {\n      console.log('id changed to: ' +  id);\n    });\n\nSet a few model ids in order to trigger `change:id` event:\n    \n    model.setId(1);\n    model.setId(2);\n    model.setId(3);\n\nA single handler can be bound to multiple events by separating the events by spaces, though it will be ignorant of the triggering event:\n\n    model.bind('change:id change:pass', function() {\n      console.log('Event called.');\n    });\n\nAnd multiple events can be unbound in one call:\n\n    model.unbind('onload onready');\n\n\n##Contributors\n\n* [@mkuklis](http://github.com/mkuklis)\n* [@rk](http://github.com/rk)\n* [@scarsick](http://github.com/scarsick)\n* [@mpdaugherty](http://github.com/mpdaugherty)\n* [@zspencer](http://github.com/zspencer)\n* [@travishorn](http://github.com/travishorn)\n* [@KenPowers](http://github.com/KenPowers)\n\n##License:\n<pre>\n(The MIT License)\n\nCopyright (c) 2011 Michal Kuklis\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n</pre>\n","_id":"asEvented@0.4.0","dist":{"shasum":"04a2dd30a348fbb3520fe8fda66b066b1471c89a","tarball":"https://registry.npmjs.org/asEvented/-/asEvented-0.4.0.tgz","integrity":"sha512-qyBwiXY2Qrbo2myoPEf72t0gcKpNSA8KlBXeQWBMW7+F90dpWT+frVr/WcTfDpBaaG5cM/f76W5zbwq7Gq0uRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDv8DO8QS6DiMZwLtyhrUHLWreJqH1se0xmBWlkHrOlygIgSL92RZgSl7lj5/FW8opKqlSL+nzLET/ExlOCxKjpJG0="}]},"maintainers":[{"name":"mkuklis","email":"michal.kuklis@gmail.com"}]},"0.4.1":{"name":"asEvented","version":"0.4.1","description":"Micro event emitter which provides the observer pattern to JavaScript object.","keywords":["evemts","emitter","bind","trigger","observer"],"author":{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"},"contributors":[{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"}],"dependencies":{},"engines":{"node":"*"},"repository":{"type":"git","url":"git://github.com/mkuklis/asEvented.git"},"main":"asevented.js","readme":"#asEvented\n\n[![build status](https://secure.travis-ci.org/mkuklis/asEvented.png)](http://travis-ci.org/mkuklis/asEvented)\n\n## Description\n\nasEvented is a micro event emitter which provides the observer pattern to JavaScript object. \nIt works in the browser and server (node.js). The code follows a functional mixins pattern described by Angus Croll [a-fresh-look-at-javascript-mixins](http://javascriptweblog.wordpress.com/2011/05/31/a-fresh-look-at-javascript-mixins).\n\n\n## Usage\n\nIn browser include single JavaScript file:\n\n    <script src=\"asevented.js\"></script>\n\nOn server install asEvented via npm first:\n\n    npm install asEvented\n\nand then include it in your project with:\n\n    var asEvented = require('asEvented');\n\n\n##Example Usage\nDefine the constructor which will make use of asEvented:\n    \n    function Model() {\n      this.id = 0;\n    }\n\nAdd (mixin) asEvented functionality to Model with:\n   \n    asEvented.call(Model.prototype);\n\nmodel has now access to **trigger**, **bind**/**on**, **one** and **unbind**/**off** functions\n\nAdd some functions to Model:\n\n    Model.prototype.setId = function (id) {\n      this.id = id;\n      this.trigger('change:id', id); // Model has now access to trigger\n    }\n\nCreate a new object and bind to `change:id` event:\n\n    var model = new Model();\n    model.bind('change:id', function (id) {\n      console.log('id changed to: ' +  id);\n    });\n\nSet a few model ids in order to trigger `change:id` event:\n    \n    model.setId(1);\n    model.setId(2);\n    model.setId(3);\n\nA single handler can be bound to multiple events by separating the events by spaces, though it will be ignorant of the triggering event:\n\n    model.bind('change:id change:pass', function() {\n      console.log('Event called.');\n    });\n\nAnd multiple events can be unbound in one call:\n\n    model.unbind('onload onready');\n\n\n##Contributors\n\n* [@mkuklis](http://github.com/mkuklis)\n* [@rk](http://github.com/rk)\n* [@scarsick](http://github.com/scarsick)\n* [@mpdaugherty](http://github.com/mpdaugherty)\n* [@zspencer](http://github.com/zspencer)\n* [@travishorn](http://github.com/travishorn)\n* [@KenPowers](http://github.com/KenPowers)\n* [@nazomikan](http://github.com/nazomikan)\n\n##License:\n<pre>\n(The MIT License)\n\nCopyright (c) 2011 Michal Kuklis\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n</pre>\n","_id":"asEvented@0.4.1","dist":{"shasum":"547c964a933ca3d5faa05bcdc71bb08bc4307779","tarball":"https://registry.npmjs.org/asEvented/-/asEvented-0.4.1.tgz","integrity":"sha512-G9fcSDT3SIwAPMpZI8paCITscC9xW2Qrdk9G6ZNskrqf8dzP9/iWa+VrESnLmaJ8aZqBvz58633xHWdPlRUCuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAmu80+YWp+8Mt4n6812UzgMD44+yfyAtubuW96vqBqLAiEAgKHXuWZoc8PgkOh2sKconIJdGEAuKK5HqM9+/sZp1+4="}]},"maintainers":[{"name":"mkuklis","email":"michal.kuklis@gmail.com"}]},"0.4.2":{"name":"asEvented","version":"0.4.2","description":"Micro event emitter which provides the observer pattern to JavaScript object.","keywords":["evemts","emitter","bind","trigger","observer"],"author":{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"},"contributors":[{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"}],"dependencies":{},"engines":{"node":"*"},"repository":{"type":"git","url":"git://github.com/mkuklis/asEvented.git"},"main":"asevented.js","readme":"#asEvented\n\n[![build status](https://secure.travis-ci.org/mkuklis/asEvented.png)](http://travis-ci.org/mkuklis/asEvented)\n\n## Description\n\nasEvented is a micro event emitter which provides the observer pattern to JavaScript object.\nIt works in the browser and server (node.js). The code follows a functional mixins pattern described by Angus Croll [a-fresh-look-at-javascript-mixins](http://javascriptweblog.wordpress.com/2011/05/31/a-fresh-look-at-javascript-mixins).\n\n\n## Usage\n\nIn browser include single JavaScript file:\n\n    <script src=\"asevented.js\"></script>\n\nOn server install asEvented via npm first:\n\n    npm install asEvented\n\nand then include it in your project with:\n\n    var asEvented = require('asEvented');\n\n\n##Example Usage\nDefine the constructor which will make use of asEvented:\n\n    function Model() {\n      this.id = 0;\n    }\n\nAdd (mixin) asEvented functionality to Model with:\n\n    asEvented.call(Model.prototype);\n\nmodel has now access to **trigger**, **bind**/**on**, **one** and **unbind**/**off** functions\n\nAdd some functions to Model:\n\n    Model.prototype.setId = function (id) {\n      this.id = id;\n      this.trigger('change:id', id); // Model has now access to trigger\n    }\n\nCreate a new object and bind to `change:id` event:\n\n    var model = new Model();\n    model.bind('change:id', function (id) {\n      console.log('id changed to: ' +  id);\n    });\n\nSet a few model ids in order to trigger `change:id` event:\n\n    model.setId(1);\n    model.setId(2);\n    model.setId(3);\n\nA single handler can be bound to multiple events by separating the events by spaces, though it will be ignorant of the triggering event:\n\n    model.bind('change:id change:pass', function() {\n      console.log('Event called.');\n    });\n\nAnd multiple events can be unbound in one call:\n\n    model.unbind('onload onready');\n\n\n##Contributors\n\n* [@mkuklis](http://github.com/mkuklis)\n* [@rk](http://github.com/rk)\n* [@scarsick](http://github.com/scarsick)\n* [@mpdaugherty](http://github.com/mpdaugherty)\n* [@zspencer](http://github.com/zspencer)\n* [@travishorn](http://github.com/travishorn)\n* [@KenPowers](http://github.com/KenPowers)\n* [@nazomikan](http://github.com/nazomikan)\n* [@whiteinge]((http://github.com/whiteinge)\n\n##License:\n<pre>\n(The MIT License)\n\nCopyright (c) 2011 Michal Kuklis\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n</pre>\n","readmeFilename":"README.md","_id":"asEvented@0.4.2","dist":{"shasum":"3ff13804e6fa6238e49fc538d6750111dba0e8cf","tarball":"https://registry.npmjs.org/asEvented/-/asEvented-0.4.2.tgz","integrity":"sha512-J5qEyGp3PE+Jxt6szjur3D0zYemeF4M4f0tz3/I/7sH9SnhakW9K0BjjdRp2Ggr6dmz3iONphbqAD0F2pT1F8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTQ60O/gESWHYFMnnNg9Sygb72skk/OvHAfody3VZPFAIgdjR867EgODqUTv89V2Mgx3jCFFUA04VHns0y12VHEeA="}]},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"mkuklis","email":"michal.kuklis@gmail.com"},"maintainers":[{"name":"mkuklis","email":"michal.kuklis@gmail.com"}]},"0.4.3":{"name":"asEvented","version":"0.4.3","description":"Micro event emitter which provides the observer pattern to JavaScript object.","keywords":["events","emitter","bind","trigger","observer"],"author":{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"},"contributors":[{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"}],"dependencies":{},"engines":{"node":"*"},"repository":{"type":"git","url":"git://github.com/mkuklis/asEvented.git"},"main":"asevented.js","readme":"#asEvented\n\n[![build status](https://secure.travis-ci.org/mkuklis/asEvented.png)](http://travis-ci.org/mkuklis/asEvented)\n\n## Description\n\nasEvented is a micro event emitter which provides the observer pattern to JavaScript object.\nIt works in the browser and server (node.js). The code follows a functional mixins pattern described by Angus Croll [a-fresh-look-at-javascript-mixins](http://javascriptweblog.wordpress.com/2011/05/31/a-fresh-look-at-javascript-mixins).\n\n\n## Usage\n\nIn browser include single JavaScript file:\n\n    <script src=\"asevented.js\"></script>\n\nOn server install asEvented via npm first:\n\n    npm install asEvented\n\nand then include it in your project with:\n\n    var asEvented = require('asEvented');\n\n\n##Example Usage\nDefine the constructor which will make use of asEvented:\n\n    function Model() {\n      this.id = 0;\n    }\n\nAdd (mixin) asEvented functionality to Model with:\n\n    asEvented.call(Model.prototype);\n\nmodel has now access to **trigger**, **bind**/**on**, **one** and **unbind**/**off** functions\n\nAdd some functions to Model:\n\n    Model.prototype.setId = function (id) {\n      this.id = id;\n      this.trigger('change:id', id); // Model has now access to trigger\n    }\n\nCreate a new object and bind to `change:id` event:\n\n    var model = new Model();\n    model.bind('change:id', function (id) {\n      console.log('id changed to: ' +  id);\n    });\n\nSet a few model ids in order to trigger `change:id` event:\n\n    model.setId(1);\n    model.setId(2);\n    model.setId(3);\n\nA single handler can be bound to multiple events by separating the events by spaces, though it will be ignorant of the triggering event:\n\n    model.bind('change:id change:pass', function() {\n      console.log('Event called.');\n    });\n\nAnd multiple events can be unbound in one call:\n\n    model.unbind('onload onready');\n\n\n##Contributors\n\n* [@mkuklis](http://github.com/mkuklis)\n* [@rk](http://github.com/rk)\n* [@scarsick](http://github.com/scarsick)\n* [@mpdaugherty](http://github.com/mpdaugherty)\n* [@zspencer](http://github.com/zspencer)\n* [@travishorn](http://github.com/travishorn)\n* [@KenPowers](http://github.com/KenPowers)\n* [@nazomikan](http://github.com/nazomikan)\n* [@whiteinge](http://github.com/whiteinge)\n* [@michaelrhodes](http://github.com/michaelrhodes)\n\n##License:\n<pre>\n(The MIT License)\n\nCopyright (c) 2011 Michal Kuklis\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n</pre>\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/mkuklis/asEvented/issues"},"_id":"asEvented@0.4.3","dist":{"shasum":"6a53a0e5c9170e62b895b4c2beca2e721236a7f2","tarball":"https://registry.npmjs.org/asEvented/-/asEvented-0.4.3.tgz","integrity":"sha512-NYOkSoiBOGgFN2hpQRD38U0mBjcs6E0m/NTNgSAPL7eXZpO6xvCtGqz91gmgZANo6oRRhDsXRHNVHhXEQtaPQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAJTOXaQ+90d6XUicFhCK56WU4PxK1tWRtWYrTDGxuepAiAU+TGYpc8dpACmKfjH205xqDdfwZb9zIlgvP5Ien3CEA=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"mkuklis","email":"michal.kuklis@gmail.com"},"maintainers":[{"name":"mkuklis","email":"michal.kuklis@gmail.com"}]}},"maintainers":[{"name":"mkuklis","email":"michal.kuklis@gmail.com"}],"time":{"modified":"2022-06-13T03:31:07.330Z","created":"2011-06-09T03:03:42.354Z","0.0.1":"2011-06-09T03:03:42.727Z","0.1.0":"2012-01-27T04:41:10.530Z","0.2.0":"2012-03-13T02:12:21.477Z","0.2.1":"2012-03-15T15:43:50.470Z","0.3.0":"2012-03-20T01:08:02.442Z","0.3.1":"2012-03-25T15:39:03.488Z","0.3.2":"2012-06-23T22:45:18.417Z","0.3.3":"2012-07-06T23:58:32.770Z","0.4.0":"2012-12-30T14:58:58.796Z","0.4.1":"2012-12-31T14:06:18.788Z","0.4.2":"2013-04-01T15:48:06.672Z","0.4.3":"2013-10-27T12:34:17.679Z"},"author":{"name":"Michal Kuklis","email":"michal.kuklis@gmail.com"},"repository":{"type":"git","url":"git://github.com/mkuklis/asEvented.git"}}