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

Way to use extended EventDispatcher #20

Closed
kbullaughey opened this issue Feb 25, 2015 · 2 comments
Closed

Way to use extended EventDispatcher #20

kbullaughey opened this issue Feb 25, 2015 · 2 comments

Comments

@kbullaughey
Copy link

I'm looking at using the ember-mobiletouch addon, which extends Ember.EventDispatcher. However, I don't see a way to get this to work with Ember unit component testing. It seems that the setupComponent method of test-module-for-component assumes the dispatcher will be a stock Ember.EventDispatcher. Is there a natural way to configure the dispatcher? Perhaps an overridable hook which defaults to the stock dispatcher? Alternatively, we could modify ember-mobiletouch to reopen the dispatcher instead of extend it. Thoughts?

@Turbo87
Copy link
Member

Turbo87 commented Oct 14, 2017

@kbullaughey I'm in the process of cleaning up the issues in this repo. Is this one still relevant?

@rwjblue
Copy link
Member

rwjblue commented Oct 14, 2017

Ya, very recent PR I merged by @cibernox (into 0.7.0 prereleases) supports having a custom event dispatcher.

@rwjblue rwjblue closed this as completed Oct 14, 2017
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

3 participants