mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
fix spurious error when using JSHint 1.1.0
This commit is contained in:
parent
23651f4731
commit
7ef78a434a
@ -613,7 +613,8 @@ exports.Parser.prototype.resolveThis = function(node) {
|
||||
}
|
||||
else {
|
||||
if (node.enclosingFunction){
|
||||
return this.resolveThis(node.enclosingFunction/* memberof.doclet.meta.code.val */);
|
||||
// memberof.doclet.meta.code.val
|
||||
return this.resolveThis(node.enclosingFunction);
|
||||
}
|
||||
else {
|
||||
return ''; // TODO handle global this?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user