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

Commit 19703e3

Browse files
Brooooooklynvicb
authored andcommitted
fix(mutation-observe): output of typeof operator should be string
1 parent 6b9d2a1 commit 19703e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/patch/mutation-observer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function patchClass(className) {
3939
var prop;
4040
for (prop in instance) {
4141
(function (prop) {
42-
if (typeof global[className].prototype !== undefined) {
42+
if (typeof global[className].prototype !== 'undefined') {
4343
return;
4444
}
4545
if (typeof instance[prop] === 'function') {

0 commit comments

Comments
 (0)