fix spurious error when using JSHint 1.1.0

This commit is contained in:
Jeff Williams 2013-04-12 07:44:07 -07:00
parent 23651f4731
commit 7ef78a434a

View File

@ -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?