read __rrMutationObserver from window

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 168382f5fe
commit 25d23bdc35
5 changed files with 22 additions and 7 deletions

View File

@@ -112,6 +112,7 @@ function isINode(n: Node | INode): n is INode {
*/
export default class MutationBuffer {
private frozen: boolean = false;
private locked: boolean = false;
private texts: textCursor[] = [];
private attributes: attributeCursor[] = [];
@@ -195,7 +196,6 @@ export default class MutationBuffer {
};
public emit = () => {
if (this.frozen || this.locked) {
return;
}