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

Selective unbinding #65

Open
tracend opened this issue Aug 31, 2013 · 1 comment
Open

Selective unbinding #65

tracend opened this issue Aug 31, 2013 · 1 comment

Comments

@tracend
Copy link
Member

tracend commented Aug 31, 2013

Any el is unbound of pre-existing events on initialization. This is to prevent any interference in the operation of the view that will appear to be a glitch.

As there are cases where we may wan to preserve certain set events, this reset may become counter-productive.

An option defining the events that we want to preserve may be a solution for this.

@tracend
Copy link
Member Author

tracend commented Sep 5, 2013

This may be a non-issue if the events are bind to the body using jQuery's updated syntax:

$("body").on("event", el, callback);

The above is the successor to the live binding, which could create the desired persistent binding...

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

1 participant