Evented JavaScript for the browser
Bye, MIT. Hello Unlicense. I did ask first in issue #84.
Improved the README in a few ways as well as merging the following PRs.
@machard fixed a bug in an older version of the Android browser to do with RegExp type checking.
Now there is a component.json
, as requested by desandro/masonry#426.
EventEmitter now supports noConflict
and has a few more Bower ignore rules thanks to @jstayton.
noConflict
As mentioned in issue #58, removeAllListeners
has now been added as an alias to removeEvent
to conform to the node API. Not that I'm aiming to conform to the node API, but if someone has some code that will work with both because of this change, then great.
You could get once events into an infinite recursion fairly easily, that's a very bad thing. You could still do it with the return based once events if you tried, but there's nothing I can do about that really.
So this fixes issue #54. Enjoy!
@nathggns submitted a pull request that added better aliasing. It will now keep the alias even if you override the default implementation of what it was pointing to.