Check if any of the mutated elements are inside root.
(root, mutated)
| 3309 | } |
| 3310 | /** Check if any of the mutated elements are inside root. */ |
| 3311 | _containsTarget(root, mutated) { |
| 3312 | if (mutated instanceof Set) { |
| 3313 | for (var el of mutated) { |
| 3314 | if (root.contains(el)) return true; |
| 3315 | } |
| 3316 | return false; |
| 3317 | } |
| 3318 | return root.contains(mutated); |
| 3319 | } |
| 3320 | /** |
| 3321 | * Run all pending effects. Called once per microtask batch. |
| 3322 | * Effects that re-trigger during this run are queued for the next batch. |
no test coverage detected