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

script: A couple mutation observer fixes. #21236

Merged
merged 3 commits into from Jul 23, 2018
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

script: Fix the logic for mutation observer attributes.

  • Loading branch information
emilio committed Jul 23, 2018
commit 39e647de06b3d2c15f1fc99388a56972c7ae6883
@@ -132,8 +132,8 @@ impl MutationObserver {
if *namespace != ns!() {
continue;
}
if registered.options.attribute_filter.iter()
.find(|s| &**s == &**name).is_some() {
if !registered.options.attribute_filter.iter()
.any(|s| &**s == &**name) {
continue;
}
}

This file was deleted.

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.