Skip to content

Commit 988982d

Browse files
committed
ignore proto properties
1 parent f2b1e3d commit 988982d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/dot/dependencies.jst

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
, $ownProperties = it.opts.ownProperties;
2020

2121
for ($property in $schema) {
22+
if ($property == '__proto__') continue;
2223
var $sch = $schema[$property];
2324
var $deps = Array.isArray($sch) ? $propertyDeps : $schemaDeps;
2425
$deps[$property] = $sch;

0 commit comments

Comments
 (0)