Replace Bane.js with EventEmitter #12

Open
jodal opened this Issue Feb 22, 2016 · 0 comments

Comments

1 participant
@jodal
Member

jodal commented Feb 22, 2016

Node.js has a quite standardized event interface called EventEmitter. In browsers, the same interface is made available with the help of Browserify (or Webpack).

The EventEmitter API is quite similar to Bane.js, so replacing Bane.js with the far more widely used EventEmitter API should be quite straight forward. However, EventEmitter lacks a the .off() method from Bane.js, so this is a breaking change.

Tasks:

  • Replace Bane.js with EventEmitter
  • Test that Browserify makes EventEmitter available on the browser
  • Update Mopidy's Mopidy.js docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment