* Add ".prototype" to name of nexted functions.

This commit is contained in:
hns 2006-11-22 15:08:34 +00:00
parent 32f5f25b9e
commit 84e6a5f2f8

View file

@ -127,7 +127,8 @@ public class DocFunction extends DocResourceElement {
} else if (token.type == Token.THIS) {
lastNameString = parent.getName();
if (parent instanceof DocFunction)
lastNameString = parent.getName() + ".prototype";
// this may be the start of a name chain declaring a function
// e.g. Number.prototype.functionName = function() { }
// marker = getPoint(token);