{"_id":"bloody-events","_rev":"26-fb865a3c321ab28a511a55318309a691","name":"bloody-events","dist-tags":{"latest":"1.3.0"},"versions":{"0.1.0":{"name":"bloody-events","version":"0.1.0","keywords":["events"],"author":{"name":"bloodyowl"},"license":"MIT","_id":"bloody-events@0.1.0","maintainers":[{"name":"bloodyowl","email":"mlbli@me.com"}],"homepage":"https://github.com/bloodyowl/events","bugs":{"url":"https://github.com/bloodyowl/events/issues"},"dist":{"shasum":"b0a5e48743c6074b47f02dc2cad9243c17f3c9c4","tarball":"https://registry.npmjs.org/bloody-events/-/bloody-events-0.1.0.tgz","integrity":"sha512-cJPjM/u22jcwgOnxK+mCN6vzlN58um/d4mnnQitMn742RpoOeQEqwFZN8fjqUlMLWhjkxdgRR3v2OvU3VR6OWg==","signatures":[{"sig":"MEYCIQCgwUz6XNBAhlqLLCMJIOnwpN96Qz77R1a2pgEDPDE5yQIhANzWpcSqFRRuOaHYk/dh5RzTA/ccQcbbNnHMZaWru2BI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","scripts":{"test":"tape test/**.js"},"_npmUser":{"name":"bloodyowl","email":"mlbli@me.com"},"testling":{"files":"test/*.js","browsers":{"ie":[6,7,8,9],"ipad":[6],"opera":[10,11,12],"chrome":[28,29,30,31],"iphone":[6],"safari":[4,5.1,6],"firefox":[22,23,24,25]}},"repository":{"url":"git@github.com:bloodyowl/events.git","type":"git"},"_npmVersion":"1.3.24","description":"[![browser support](https://ci.testling.com/bloodyowl/events.png)](https://ci.testling.com/bloodyowl/events)","directories":{"test":"test"},"dependencies":{"bloody-class":"~1.1.0","bloody-immediate":"~0.1.0"},"devDependencies":{"tape":"~2.4.2"}},"0.1.1":{"name":"bloody-events","version":"0.1.1","keywords":["events"],"author":{"name":"bloodyowl"},"license":"MIT","_id":"bloody-events@0.1.1","maintainers":[{"name":"bloodyowl","email":"mlbli@me.com"}],"homepage":"https://github.com/bloodyowl/events","bugs":{"url":"https://github.com/bloodyowl/events/issues"},"dist":{"shasum":"2bc5424ed57f8428aa1c97a208d549caf433b3b3","tarball":"https://registry.npmjs.org/bloody-events/-/bloody-events-0.1.1.tgz","integrity":"sha512-MZXCepT2uKqa50Pn79yJgKLPBOicd4imCX3VSbphhRC2vZrOiKnlEEuqdP0Df/8vdEE49f9z+KuJDdb4Um3fug==","signatures":[{"sig":"MEUCIQDvocjDnhlTEEWMTrQZpTasFhM5r+e+dn+i+5Ld8TTORQIgXjgEfFuS49axw22knONFtwETpoLn40xvDLLupaursi0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","scripts":{"test":"tape test/**.js"},"_npmUser":{"name":"bloodyowl","email":"mlbli@me.com"},"testling":{"files":"test/*.js","browsers":{"ie":[6,7,8,9],"ipad":[6],"opera":[10,11,12],"chrome":[28,29,30,31],"iphone":[6],"safari":[4,5.1,6],"firefox":[22,23,24,25]}},"repository":{"url":"git@github.com:bloodyowl/events.git","type":"git"},"_npmVersion":"1.3.24","description":"[![browser support](https://ci.testling.com/bloodyowl/events.png)](https://ci.testling.com/bloodyowl/events)","directories":{"test":"test"},"dependencies":{"bloody-class":"~1.1.0","bloody-immediate":"~0.1.0"},"devDependencies":{"tape":"~2.4.2"}},"0.2.0":{"name":"bloody-events","version":"0.2.0","keywords":["events"],"author":{"name":"bloodyowl"},"license":"MIT","_id":"bloody-events@0.2.0","maintainers":[{"name":"bloodyowl","email":"mlbli@me.com"}],"homepage":"https://github.com/bloodyowl/events","bugs":{"url":"https://github.com/bloodyowl/events/issues"},"dist":{"shasum":"505bdd6d286c3fcf7009014f7d09583bb4402d86","tarball":"https://registry.npmjs.org/bloody-events/-/bloody-events-0.2.0.tgz","integrity":"sha512-Dr5kHjzfpjNdGxkPJecDBjcS41gSI1+5xsbxSDo2RZ7fG9EgNA6WtS/kIhc1cW3s/fwKb084nhhrOos269jIjQ==","signatures":[{"sig":"MEYCIQD7ZCVI6QgYKuOPRda2xcYDN+ZM+YHWpI808q1CPxl0CQIhAIbT3ha6Zk3YsZcJvQ33OrSoXdWz0aPU9Qk5hxZ0Vu0t","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","scripts":{"test":"tape test/**.js"},"_npmUser":{"name":"bloodyowl","email":"mlbli@me.com"},"testling":{"files":"test/*.js","browsers":{"ie":[6,7,8,9],"ipad":[6],"opera":[10,11,12],"chrome":[28,29,30,31],"iphone":[6],"safari":[4,5.1,6],"firefox":[22,23,24,25]}},"repository":{"url":"git@github.com:bloodyowl/events.git","type":"git"},"_npmVersion":"1.4.3","description":"[![browser support](https://ci.testling.com/bloodyowl/events.png)](https://ci.testling.com/bloodyowl/events)","directories":{"test":"test"},"dependencies":{"bloody-class":"~1.1.0","bloody-immediate":"~0.1.0"},"devDependencies":{"tape":"~2.4.2"}},"0.2.1":{"name":"bloody-events","version":"0.2.1","keywords":["events"],"author":{"name":"bloodyowl"},"license":"MIT","_id":"bloody-events@0.2.1","maintainers":[{"name":"bloodyowl","email":"mlbli@me.com"}],"homepage":"https://github.com/bloodyowl/events","bugs":{"url":"https://github.com/bloodyowl/events/issues"},"dist":{"shasum":"88aa9995304be58096bfe063ec908ce98e2d862f","tarball":"https://registry.npmjs.org/bloody-events/-/bloody-events-0.2.1.tgz","integrity":"sha512-kpRS0NuMvyO1SGSgZbA5jx26AqN2qhrqa+l/lOjbvLLZ1QUJYW6fb0YlnHEThZO7P7BSoR2r3aPL1pbI6+2TdQ==","signatures":[{"sig":"MEQCIBgRSfsAxErC/y0Byhu8HQOyDsRPFOt/lFtX1Do6A3rtAiAvYuYM/pC2/Tg6/Z5jitLJjPxjO6MKBkO5BPx437KAIw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","scripts":{"test":"tape test/**.js"},"_npmUser":{"name":"bloodyowl","email":"mlbli@me.com"},"testling":{"files":"test/*.js","browsers":{"ie":[6,7,8,9],"ipad":[6],"opera":[10,11,12],"chrome":[28,29,30,31],"iphone":[6],"safari":[4,5.1,6],"firefox":[22,23,24,25]}},"repository":{"url":"git@github.com:bloodyowl/events.git","type":"git"},"_npmVersion":"1.4.3","description":"[![browser support](https://ci.testling.com/bloodyowl/events.png)](https://ci.testling.com/bloodyowl/events)","directories":{"test":"test"},"dependencies":{"bloody-class":"~1.1.0","bloody-immediate":"~0.1.0"},"devDependencies":{"tape":"~2.4.2"}},"0.2.2":{"name":"bloody-events","version":"0.2.2","keywords":["events"],"author":{"name":"bloodyowl"},"license":"MIT","_id":"bloody-events@0.2.2","maintainers":[{"name":"bloodyowl","email":"mlbli@me.com"}],"homepage":"https://github.com/bloodyowl/events","bugs":{"url":"https://github.com/bloodyowl/events/issues"},"dist":{"shasum":"43cca0a29ba2c577317cb6534f85dfde598f99b2","tarball":"https://registry.npmjs.org/bloody-events/-/bloody-events-0.2.2.tgz","integrity":"sha512-EpYsLECiZ+mH8RN1puhr/hNSOLYL6gyyKHxIHsL5QcKmzFOYm8PNX2IoHClVYb6ragJ7KUx8hiZRixYmSMJSYQ==","signatures":[{"sig":"MEQCIDbPO1ccJpTWmLAV2RgHPp/CNC2H47k/6dfzRutNQjxfAiALJH2z0lqSIsaV/W15Eo6YLWCBmJvr9v2rSIcCI4cY5g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","scripts":{"test":"tape test/**.js"},"_npmUser":{"name":"bloodyowl","email":"mlbli@me.com"},"testling":{"files":"test/*.js","browsers":{"ie":[6,7,8,9],"ipad":[6],"opera":[10,11,12],"chrome":[28,29,30,31],"iphone":[6],"safari":[4,5.1,6],"firefox":[22,23,24,25]}},"repository":{"url":"git@github.com:bloodyowl/events.git","type":"git"},"_npmVersion":"1.4.3","description":"[![browser support](https://ci.testling.com/bloodyowl/events.png)](https://ci.testling.com/bloodyowl/events)","directories":{"test":"test"},"dependencies":{"bloody-class":"^1.2.1","bloody-immediate":"~0.1.0"},"devDependencies":{"tape":"~2.4.2"}},"1.0.0":{"name":"bloody-events","version":"1.0.0","keywords":["events"],"author":{"name":"bloodyowl"},"license":"MIT","_id":"bloody-events@1.0.0","maintainers":[{"name":"bloodyowl","email":"mlbli@me.com"}],"homepage":"https://github.com/bloodyowl/events","bugs":{"url":"https://github.com/bloodyowl/events/issues"},"dist":{"shasum":"3afff74b411314e37f094190771c6514a5dbf4e6","tarball":"https://registry.npmjs.org/bloody-events/-/bloody-events-1.0.0.tgz","integrity":"sha512-pwLit7pEIATA/yH3ScZIiaKS1ZLrJmverHiCESQQ7amT5hAxJOh5UZQDgxVaC5I0TfYUNxft7/7wFbzEBeFO7A==","signatures":[{"sig":"MEQCIAQqwHgW2OE4UckwHSIhklurv3xKnzZy+/xax4TYniV6AiBHXYdvaFekDIVAggpdg17Q1IL8IHO8Uy7DPZG1VJPWYA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"3afff74b411314e37f094190771c6514a5dbf4e6","scripts":{"test":"tape test/**.js"},"_npmUser":{"name":"bloodyowl","email":"mlbli@me.com"},"testling":{"files":"test/*.js","browsers":{"ie":[6,7,8,9],"ipad":[6],"opera":[10,11,12],"chrome":[28,29,30,31],"iphone":[6],"safari":[4,5.1,6],"firefox":[22,23,24,25]}},"repository":{"url":"git@github.com:bloodyowl/events.git","type":"git"},"_npmVersion":"1.4.10","description":"[![browser support](https://ci.testling.com/bloodyowl/events.png)](https://ci.testling.com/bloodyowl/events)","directories":{"test":"test"},"dependencies":{"bloody-class":"^1.2.1","bloody-immediate":"~0.1.0"},"devDependencies":{"tape":"~2.4.2"}},"1.1.0":{"name":"bloody-events","version":"1.1.0","keywords":["events"],"author":{"name":"bloodyowl"},"license":"MIT","_id":"bloody-events@1.1.0","maintainers":[{"name":"bloodyowl","email":"mlbli@me.com"}],"homepage":"https://github.com/bloodyowl/events","bugs":{"url":"https://github.com/bloodyowl/events/issues"},"dist":{"shasum":"ab905acceda23936ae265dc5ecc24d950e4a70a7","tarball":"https://registry.npmjs.org/bloody-events/-/bloody-events-1.1.0.tgz","integrity":"sha512-lmg7y30CYKty9YoRLJ8y0VKIidChBl/tpqrtdwXUVGDPrj57LRi4hrrt6yBucpcDnnNxoTsRbo3CsHDp2SWu6g==","signatures":[{"sig":"MEUCIDE3hHLScTrJMWZJghTmKS2hOBjCeoDhNtHUt4yNaHWgAiEAggN43sPGhwCOYYXl3LktpMj9FU/pgv3SVLnbqTzWXYU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"ab905acceda23936ae265dc5ecc24d950e4a70a7","scripts":{"test":"tape test/**.js"},"_npmUser":{"name":"bloodyowl","email":"mlbli@me.com"},"testling":{"files":"test/*.js","browsers":{"ie":[6,7,8,9],"ipad":[6],"opera":[10,11,12],"chrome":[28,29,30,31],"iphone":[6],"safari":[4,5.1,6],"firefox":[22,23,24,25]}},"repository":{"url":"git@github.com:bloodyowl/events.git","type":"git"},"_npmVersion":"1.4.10","description":"[![browser support](https://ci.testling.com/bloodyowl/events.png)](https://ci.testling.com/bloodyowl/events)","directories":{"test":"test"},"dependencies":{"bloody-class":"^1.2.1","bloody-immediate":"~0.1.0"},"devDependencies":{"tape":"~2.4.2"}},"1.1.1":{"name":"bloody-events","version":"1.1.1","keywords":["events"],"author":{"name":"bloodyowl"},"license":"MIT","_id":"bloody-events@1.1.1","maintainers":[{"name":"bloodyowl","email":"mlbli@me.com"}],"homepage":"https://github.com/bloodyowl/events","bugs":{"url":"https://github.com/bloodyowl/events/issues"},"dist":{"shasum":"96d1eb1ed5793e7d20e4eb5ed25add6c9f5a4440","tarball":"https://registry.npmjs.org/bloody-events/-/bloody-events-1.1.1.tgz","integrity":"sha512-tTgEEI8cvdhEOaVqk3tk7xFFb7PPi7ibLBFKms3iLUgCywFYuvwoZ5127OMfoT27Lv0BYJKJMpBAwGBkxR6vpw==","signatures":[{"sig":"MEQCIHIPzPBQ7x2qXfFCD89+axn8L1oB7UGaEU454zMK9n97AiABRiXRNhbePS7S3xnbq/50MXPLLqks5HoXvjvIYl5Qlw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"96d1eb1ed5793e7d20e4eb5ed25add6c9f5a4440","scripts":{"test":"tape test/**.js"},"_npmUser":{"name":"bloodyowl","email":"mlbli@me.com"},"testling":{"files":"test/*.js","browsers":{"ie":[6,7,8,9],"ipad":[6],"opera":[10,11,12],"chrome":[28,29,30,31],"iphone":[6],"safari":[4,5.1,6],"firefox":[22,23,24,25]}},"repository":{"url":"git@github.com:bloodyowl/events.git","type":"git"},"_npmVersion":"1.4.10","description":"[![browser support](https://ci.testling.com/bloodyowl/events.png)](https://ci.testling.com/bloodyowl/events)","directories":{"test":"test"},"dependencies":{"bloody-class":"^1.2.1"},"devDependencies":{"tape":"~2.4.2"}},"1.2.0":{"name":"bloody-events","version":"1.2.0","keywords":["events"],"author":{"name":"bloodyowl"},"license":"MIT","_id":"bloody-events@1.2.0","maintainers":[{"name":"bloodyowl","email":"mlbli@me.com"}],"homepage":"https://github.com/bloodyowl/events","bugs":{"url":"https://github.com/bloodyowl/events/issues"},"dist":{"shasum":"f61cbc59e49e7ca47f4ce71d4f33157d816bd22f","tarball":"https://registry.npmjs.org/bloody-events/-/bloody-events-1.2.0.tgz","integrity":"sha512-ZQWTz0Iaq5jCp0BNbsGM3QHphiF85av5281DVe6JZ1pchIzyeuUimqTonP4/EqO0zVztmHzqpUemYYmn+w+I3g==","signatures":[{"sig":"MEYCIQCgH0HCdTk6z1pt3xvvLSGwr+ehnSrFYLB+YgCsvZcUPwIhAKVqHO4udTLbqPKPzlCOi75QHT2t9qyqyGYL/Uw/tBLF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"f61cbc59e49e7ca47f4ce71d4f33157d816bd22f","scripts":{"test":"tape test/**.js"},"_npmUser":{"name":"bloodyowl","email":"mlbli@me.com"},"testling":{"files":"test/*.js","browsers":{"ie":[6,7,8,9],"ipad":[6],"opera":[10,11,12],"chrome":[28,29,30,31],"iphone":[6],"safari":[4,5.1,6],"firefox":[22,23,24,25]}},"repository":{"url":"git@github.com:bloodyowl/events.git","type":"git"},"_npmVersion":"1.4.10","description":"[![Build Status](https://travis-ci.org/bloodyowl/events.svg)](https://travis-ci.org/bloodyowl/events)","directories":{"test":"test"},"dependencies":{"bloody-class":"^1.2.1"},"devDependencies":{"tape":"~2.4.2"}},"1.2.1":{"name":"bloody-events","version":"1.2.1","keywords":["events"],"author":{"name":"bloodyowl"},"license":"MIT","_id":"bloody-events@1.2.1","maintainers":[{"name":"bloodyowl","email":"mlbli@me.com"}],"homepage":"https://github.com/bloodyowl/events","bugs":{"url":"https://github.com/bloodyowl/events/issues"},"dist":{"shasum":"03db064c0b91bc0c7a0f02e64f1e0228b50d45ba","tarball":"https://registry.npmjs.org/bloody-events/-/bloody-events-1.2.1.tgz","integrity":"sha512-AIiTSSKfHtGDVjjJ72ETzvzcDBQslvjESX0V2qtVEKGIed1L07bRC1pCWU+k+rcRlKU6/DIX9qDzkaItSsNpAQ==","signatures":[{"sig":"MEUCIHa5JE6N4+Hi0BSGMnl0gppxGiGj70CO3XkX6pCK0NL7AiEA8r2KLeLg+3a883T0egQtsb1HpxG0jQMqK//L0hwkT1w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"03db064c0b91bc0c7a0f02e64f1e0228b50d45ba","scripts":{"test":"tape test/**.js"},"_npmUser":{"name":"bloodyowl","email":"mlbli@me.com"},"testling":{"files":"test/*.js","browsers":{"ie":[6,7,8,9],"ipad":[6],"opera":[10,11,12],"chrome":[28,29,30,31],"iphone":[6],"safari":[4,5.1,6],"firefox":[22,23,24,25]}},"repository":{"url":"git@github.com:bloodyowl/events.git","type":"git"},"_npmVersion":"1.4.10","description":"events in node and the browser","directories":{"test":"test"},"dependencies":{"bloody-class":"^1.2.1"},"devDependencies":{"tape":"~2.4.2"}},"1.3.0":{"name":"bloody-events","version":"1.3.0","keywords":["events"],"author":{"name":"bloodyowl"},"license":"MIT","_id":"bloody-events@1.3.0","maintainers":[{"name":"bloodyowl","email":"mlbli@me.com"}],"homepage":"https://github.com/bloodyowl/events","bugs":{"url":"https://github.com/bloodyowl/events/issues"},"dist":{"shasum":"6a407571f16b5bd5a66cd6a8323c4e3c4e8f112d","tarball":"https://registry.npmjs.org/bloody-events/-/bloody-events-1.3.0.tgz","integrity":"sha512-YepHWjBvbSTRJLtyWwMuXAHp0NzK/tUGZptpQH16JVxrxEMBPGMLFV0wMHrUeK+ULUh+2mgO/0VhqG1jA/ft7w==","signatures":[{"sig":"MEYCIQDUV1OrvQNOfDZL/W27CozQFUQVj9aJ3hxdhTvPJhMDxgIhAJNoAhkr20E+TT/BEhPOsLSbbEl0p5SaQZCQyjNjLRoc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"6a407571f16b5bd5a66cd6a8323c4e3c4e8f112d","scripts":{"test":"tape test/**.js"},"_npmUser":{"name":"bloodyowl","email":"mlbli@me.com"},"testling":{"files":"test/*.js","browsers":{"ie":[6,7,8,9],"ipad":[6],"opera":[10,11,12],"chrome":[28,29,30,31],"iphone":[6],"safari":[4,5.1,6],"firefox":[22,23,24,25]}},"repository":{"url":"git@github.com:bloodyowl/events.git","type":"git"},"_npmVersion":"1.4.10","description":"events in node and the browser","directories":{"test":"test"},"dependencies":{"bloody-class":"^1.2.1"},"devDependencies":{"tape":"~2.4.2"}}},"time":{"created":"2014-02-11T11:39:00.978Z","modified":"2026-04-16T17:27:14.532Z","0.1.0":"2014-02-11T11:39:00.978Z","0.1.1":"2014-02-11T16:05:48.212Z","0.2.0":"2014-04-12T12:10:50.356Z","0.2.1":"2014-04-12T17:52:00.059Z","0.2.2":"2014-04-13T10:50:22.384Z","1.0.0":"2014-06-11T14:11:41.378Z","1.1.0":"2014-06-11T14:50:39.030Z","1.1.1":"2014-06-17T11:49:24.866Z","1.2.0":"2014-06-18T17:27:46.641Z","1.2.1":"2014-06-24T15:11:11.103Z","1.3.0":"2014-06-26T15:41:57.143Z"},"bugs":{"url":"https://github.com/bloodyowl/events/issues"},"author":{"name":"bloodyowl"},"license":"MIT","homepage":"https://github.com/bloodyowl/events","keywords":["events"],"repository":{"url":"git@github.com:bloodyowl/events.git","type":"git"},"description":"events in node and the browser","maintainers":[{"email":"bloodyowl@icloud.com","name":"bldwl"}],"readme":"# events\n\n[![Build Status](https://travis-ci.org/bloodyowl/events.svg)](https://travis-ci.org/bloodyowl/events)\n\n[![browser support](https://ci.testling.com/bloodyowl/events.png)](https://ci.testling.com/bloodyowl/events)\n\n## install\n\n```\n$ npm install bloody-events\n```\n\n## require\n\n```javascript\nvar events = require(\"bloody-events\")\n```\n\n## API\n\n### `.create() -> events`\n\nCreates an event object\n\n### `.extend(object) -> events subclass`\n\nCreates an event-object subclass\n\n### `.on(type, listener[, once])`\n\nListens to the `type` event with `listener` as callback.\n`once` defines whether or not the listener should remove itself afterwards.\n\n#### `listener`\n\nA listener can either be a function or an object containing a `handleEvent` interface.\n\n```javascript\nevents.on(\"user:log\", function(username){\n  model.set({\n    username : username\n  })\n})\n\n// or\n\nvar model = model\n  .extend({\n    getDefaults : function(){\n      return {\n        username : \"\"\n      }\n    },\n    handleEvent : function(username){\n      this.set({\n        username : username\n      })\n    }\n  })\n  .create()\nevents.on(\"user:log\", model)\n\n// or\n\nvar model = model\n  .extend({\n    getDefaults : function(){\n      return {\n        username : \"\",\n        isThere : true\n      }\n    },\n    handleEvent : {\n      \"user:log\" : function(username){\n        this.set({\n          username : username\n        })\n      },\n      \"user:leave\" : function(){\n        this.set({\n          isThere : false\n        })\n      }\n    }\n  })\n  .create()\n\nevents.on(\"user:log\", model)\n```\n\nchainable, returns `this`\n\n### `.once(type, listener)`\n\nShortcut for `.listen(type, listener, true)`\n\nchainable, returns `this`\n\n### `.off([type [,listener]])`\n\nIf `type` and `listener` are passed, removes the given `listener`.\nIf only `type` is passed, removes all this type's listeners.\nOtherwise, removes all the events listeners.\n\nchainable, returns `this`\n\n### `.emit(type[, args …])`\n\nTriggers synchronously the `type` events, and passes `args…` as arguments for the listeners.\n\nreturns `true` if any callback has been executed\nreturns `false` otherwise\n\n## subclass note\n\n- call `events.constructor.call(this)` in your constructor\n- call `events.destructor.call(this)` in your destructor\n","readmeFilename":"README.md"}