Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start using EventDispatcher for Services #107

Closed
azasypkin opened this issue Apr 20, 2016 · 1 comment
Closed

Start using EventDispatcher for Services #107

azasypkin opened this issue Apr 20, 2016 · 1 comment

Comments

@azasypkin
Copy link
Member

Preliminary we want to import [1] and [2] including all existing unit tests. This will require some changes to make it more "es6-classy". And we need to decided whether we want it to be base class or mixin, or maybe both.

[1] https://github.com/mozilla-b2g/gaia/blob/master/shared/js/event_dispatcher.js
[2] https://github.com/vargin/event-dispatcher/blob/master/event-dispatcher.es6.js

@azasypkin
Copy link
Member Author

It's being covered in #111 - MotionSensorService will be the first service that uses custom events, the rest of the services will expose events as needed.

@azasypkin azasypkin changed the title Start using EventDispatcher for Foxbox and Services Start using EventDispatcher for Services Apr 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant