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

Commit

Permalink
refactor(patchClass): MutationObserver has its own patch
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb committed May 13, 2015
1 parent 639d5e7 commit 8f262aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function patchClass(className) {
}
};

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

var prop;
for (prop in instance) {
Expand Down

0 comments on commit 8f262aa

Please sign in to comment.