Skip to content

Commit 96fcbfe

Browse files
committed
allow_dom default value = true
1 parent 4a38ddb commit 96fcbfe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

objgrep.js

+3
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@
6767
depth = 5;
6868
console.log('Using a default search depth of ' + depth);
6969
}
70+
if (typeof allow_dom === 'undefined') {
71+
allow_dom = true;
72+
}
7073
return objgrep(this, regex, depth, allow_dom, context);
7174
}
7275
});

0 commit comments

Comments
 (0)