versatile-tree
Advanced tools
Comparing version 1.1.6 to 1.2.1
@@ -126,5 +126,5 @@ "use strict"; | ||
let found = false; | ||
let ancestor = node.getParent(); | ||
let ancestor = this.getParent(); | ||
while (ancestor) { | ||
found = ancestor.equals(this); | ||
found = ancestor.equals(node); | ||
if (found) { | ||
@@ -131,0 +131,0 @@ break; |
{ | ||
"name": "versatile-tree", | ||
"version": "1.1.6", | ||
"version": "1.2.1", | ||
"author": "Justin Mahar <contact@justinmahar.com>", | ||
@@ -5,0 +5,0 @@ "description": "A highly versatile tree structure for JavaScript.", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package