Skip to content

Conversation

jeroenransijn
Copy link

  • obj.bind is now obj.on
  • obj.unbind is now obj.off
  • Added chainability obj.on('a', fn).on('b', fn)
  • Added on all events function on('*', function (eventName) { }) and
    trigger('*')
  • Some code reformatted

The MicroEvent.debug.js is not yet updated. However I feel most of this edits are a welcome update.

- obj.bind is now obj.on
- obj.unbind is now obj.off
- Added chainability `obj.on('a', fn).on('b', fn)`
- Added on all events function `on('*', function (eventName) { })` and
`trigger('*')`
- Some code reformatted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant