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

Forgotten teardown #15

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

IagoSRL
Copy link

@IagoSRL IagoSRL commented Nov 29, 2017

The plugin had a teardown function defined but never used. I connected it to the set-up of swipe event.
The direction-specific events needed a different teardown, so I implemented that.

Additionally, I added an example.html file to try the plugin in a simple page. It helps to check that events are behaving as expected after changes and too the teardown (I left a comment in the teardown code about how to test the bug generated by the lack of this with the previous code).

PS: Thanks for this plugin!

butesa added a commit to butesa/detect_swipe that referenced this pull request Sep 30, 2023
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