correct a comment

This commit is contained in:
Jeff Williams 2014-10-12 13:44:12 -07:00
parent 8f231c12b5
commit e69001d7cf

View File

@ -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);