We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b5c845 commit 1982e52Copy full SHA for 1982e52
src/object.js
@@ -178,9 +178,8 @@ ReflectionObject.prototype.onRemove = function onRemove(parent) {
178
ReflectionObject.prototype.resolve = function resolve() {
179
if (this.resolved)
180
return this;
181
- if (this instanceof Root) {
182
- this.resolved = true;
183
- }
+ if (this.root instanceof Root)
+ this.resolved = true; // only if part of a root
184
185
};
186
0 commit comments