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
When we call un like this:
un
obs.un({ event1: handler1, event2: handler2 }, ctx);
it does not works because the code does not make corrections in hash branch:
} else { var _this = this; $.each(e, function(e, fn) { _this.un(e, fn, ctx); }); }
In this place the ctx var is always undefined because the right ctx is assigned to function's param fn.
ctx
undefined
fn
The text was updated successfully, but these errors were encountered:
BEM-2250
Sorry, something went wrong.
No branches or pull requests
When we call
un
like this:it does not works because the code does not make corrections in hash branch:
In this place the
ctx
var is alwaysundefined
because the rightctx
is assigned to function's paramfn
.The text was updated successfully, but these errors were encountered: