HenrikJoreteg / wildemitter

A super lightweight EventEmitter similar to what comes in Node.js, but with a support for wildcard events '*'
MIT License
213 stars 21 forks source link

Add a `WildEmitter.mixin(<constructor>)` method for mixing emitter behaviour into a "class" more easily #15

Closed kohenkatz closed 9 years ago

kohenkatz commented 9 years ago

A reimplementation of #8 against the newest codebase.

kohenkatz commented 9 years ago

@HenrikJoreteg should I squash to one commit, or is this ok? (It's a bunch of commits because I used the Github online editor on a machine without Git tools installed.)

HenrikJoreteg commented 9 years ago

I don't particularly care if they're not squashed. Also, I've given you publish rights on npm too.

Feel free to merge/publish. Please follow semver.org for versioning and I tend to use these scripts to actually publish so that a corresponding git tag gets pushed to github as well: http://ampersandjs.com/learn/bug-triage-process#publishing