Skip to content

Commit

Permalink
ignore proto properties
Browse files Browse the repository at this point in the history
  • Loading branch information
epoberezkin committed Jul 1, 2020
1 parent f2b1e3d commit 988982d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/dot/dependencies.jst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
, $ownProperties = it.opts.ownProperties;

for ($property in $schema) {
if ($property == '__proto__') continue;
var $sch = $schema[$property];
var $deps = Array.isArray($sch) ? $propertyDeps : $schemaDeps;
$deps[$property] = $sch;
Expand Down

0 comments on commit 988982d

Please # to comment.