This commit is contained in:
Jeff Williams 2014-03-16 19:38:03 -07:00
parent f9e36811ae
commit c6fd086f4b

View File

@ -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);
}