mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
comment
This commit is contained in:
parent
f9e36811ae
commit
c6fd086f4b
@ -49,6 +49,7 @@ exports.resolve = function(doclet) {
|
||||
|
||||
// change MyClass.prototype.instanceMethod to MyClass#instanceMethod
|
||||
// (but not in function params, which lack doclet.kind)
|
||||
// TODO: check for specific doclet.kind values (probably function, class, and module)
|
||||
if (name && doclet.kind) {
|
||||
name = name.replace(/(?:^|\.)prototype\.?/g, INSTANCE);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user