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

resolve swipe name conflict #854

Merged

Conversation

kbullaughey
Copy link
Contributor

Having a function that is named after an event on a tagless component is an error in glimmer. The paper-toast component has a method named swipe. Normally this isn't a problem because swipe is an official event registered with the event dispatcher. But when using ember-gestures there is a swipe event, making it impossible to use paper-toast. However, here, the tagless component has a method swipe out of coincidence. By renaming this method we solve the problem. This fixes issue #853.

…r when swipe is a valid event name, i.e., when using ember-gestures
@miguelcobain miguelcobain merged commit 2ddc60c into miguelcobain:master Nov 1, 2017
@miguelcobain
Copy link
Owner

Thanks. 👍

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.

None yet

2 participants