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

Ensure wildemitter callbacks object gets it's keys removed when callback array is empty. #10

Closed latentflip closed 9 years ago

latentflip commented 9 years ago

The lack of cleanup of the object means that iterating the wildcard gets slow if you use once a lot.