mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
correct a comment
This commit is contained in:
parent
8f231c12b5
commit
e69001d7cf
@ -384,8 +384,7 @@ Parser.prototype.resolveThis = function(node) {
|
||||
var result;
|
||||
|
||||
// In general, if there's an enclosing scope, we use the enclosing scope to resolve `this`.
|
||||
// For object properties, we use the node's parent (the object) instead. This is a consequence
|
||||
// of the source-rewriting hackery that we use to support the `@lends` tag.
|
||||
// For object properties, we use the node's parent (the object) instead.
|
||||
if (node.type !== Syntax.Property && node.enclosingScope) {
|
||||
doclet = this._getDoclet(node.enclosingScope.nodeId);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user