We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The delegate and undelegate method aliases in can/event aren't currently passing the proper scope when adding/removing event listeners.
delegate
undelegate
can/event
Currently:
delegate: function(selector, event, handler) { return can.addEvent.call(event, handler); },
Should be:
delegate: function(selector, event, handler) { return can.addEvent.call(this, event, handler); },
The text was updated successfully, but these errors were encountered:
Fixed incorrect scope when using event's delegate/undelegate fallbacks (
e80eef1
#1039)
Closed via #1055
Sorry, something went wrong.
No branches or pull requests
The
delegate
andundelegate
method aliases incan/event
aren't currently passing the proper scope when adding/removing event listeners.Currently:
Should be:
The text was updated successfully, but these errors were encountered: