Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 8f262aa

Browse files
committed
refactor(patchClass): MutationObserver has its own patch
1 parent 639d5e7 commit 8f262aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function patchClass(className) {
122122
}
123123
};
124124

125-
var instance = new OriginalClass(className.substr(-16) === 'MutationObserver' ? function () {} : undefined);
125+
var instance = new OriginalClass();
126126

127127
var prop;
128128
for (prop in instance) {

0 commit comments

Comments
 (0)