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

.off works only on events explicitly defined with .on #140

Open
tarikbenmerar opened this issue Dec 27, 2014 · 2 comments
Open

.off works only on events explicitly defined with .on #140

tarikbenmerar opened this issue Dec 27, 2014 · 2 comments

Comments

@tarikbenmerar
Copy link

Hello, I have been faced with the following issue :

I have created a handler on the swiping event like this :

.swiping(handler);

when calling off('swiping', handler), it doesn't unhandle it. But, when I create the handler with on('swiping, handler), it works well. I haven't taken time to understand why from the source code, so I am reporting it as a bug.

Thanks,

@soyjavi
Copy link
Owner

soyjavi commented Apr 27, 2015

I'm sorry but now QuoJS only supports unsuscribers (off) when you use (on).

@tarikbenmerar
Copy link
Author

@soyjavi Ok, thanks. I can leave with that.

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

No branches or pull requests

2 participants