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

Detach event handler #4

Open
nawroth opened this issue Feb 27, 2014 · 2 comments
Open

Detach event handler #4

nawroth opened this issue Feb 27, 2014 · 2 comments

Comments

@nawroth
Copy link

nawroth commented Feb 27, 2014

Is there a way to detach an event handler added by this lib?

For my use case, only the first change is used, so it would be cleaner to stop listening once that event has fired.

@valtido
Copy link
Owner

valtido commented Mar 5, 2014

I don't think so..., I guess I never thought of it, since the Mutate means constantly listen for it...

I guess use a js beautifier, http://jsbeautifier.org/ and amend it yourself :)

Unless I get sometime, to implement it.

@valtido
Copy link
Owner

valtido commented May 21, 2014

looking at it, there is a fal_callback method you can use, to reduce the mutate.stack.

(I have left the mutate accessible from the window object)

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