* Add ".prototype" to name of nexted functions.
This commit is contained in:
parent
32f5f25b9e
commit
84e6a5f2f8
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue